bilal_fazlani 0 Light Poster
listbx.Items.Add(New _
ListItem(BorderStyle.None.ToString(), BorderStyle.None))
listbx.Items.Add(New _
ListItem(BorderStyle.Double.ToString(), BorderStyle.Double))
listbx.Items.Add(New _
ListItem(BorderStyle.Solid.ToString(), BorderStyle.Solid))

can anyone please tell me how to do this in asp code..

in it adds the borderstyle as value... when i try that in it just adds string value. <asp:ListItem Text=Solid Value=Solid></asp:ListItem> do I have to use ctype while retrieving ...? ..please help. anyone?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.