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 vb.net it adds the borderstyle as value... when i try that in asp.net 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, networking, learning, and sharing knowledge.