I need to add an item to my combo box in VB.NET. When writing the same program, but in ASP.NET, I was able to do it like this...
How would I go about adding The text "All", with a value of "-1" in a solely VB.NET application?
VB.NET:
[size=2]
cboPart.Items.Add([/size][size=2][color=#0000ff]New[/color][/size][size=2] ListItem("All", "-1"))
[/size]
How would I go about adding The text "All", with a value of "-1" in a solely VB.NET application?