K
Ken Saganowski
VB.Net version 2003
I'm attempting to manually populate a comboBox (dropDownList) but am unable
using a syntax I used to use in 2002:
dim dr as sqlclient.sqldatareader = cmd.executeReader
while dr.read
ddl.items.add(new listItem(dr("text"), dr("value")))
end while
Is there an additional project reference needed in order to instantiate a
new ListItem object? I cant get it to come up in the class box.
any help is greatly appreciated.
I'm attempting to manually populate a comboBox (dropDownList) but am unable
using a syntax I used to use in 2002:
dim dr as sqlclient.sqldatareader = cmd.executeReader
while dr.read
ddl.items.add(new listItem(dr("text"), dr("value")))
end while
Is there an additional project reference needed in order to instantiate a
new ListItem object? I cant get it to come up in the class box.
any help is greatly appreciated.