Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 628.9k

DropDownList Problem

Jul 12 2011 8:25 AM
hi dudes

Can any one tell me i have used here DataTextFormatString  but it is not working can any one help me...?

        <asp:DropDownList ID="DropDownList1" DataTextFormatString = "{0:C}" runat="server"  >
        <asp:ListItem Value="1">1</asp:ListItem>
        <asp:ListItem Value="2">2</asp:ListItem>
        <asp:ListItem Value="3">3</asp:ListItem>
        <asp:ListItem Value="5">5</asp:ListItem>
        <asp:ListItem Value="6">6</asp:ListItem>
        <asp:ListItem Value="8">8</asp:ListItem>
        </asp:DropDownList>

Answers (1)