vb.net - How to get each value in combobox dropdown list? -
vb.net - How to get each value in combobox dropdown list? -
how each value in combobox dropdown list?
here try
each obj in cbcombobox.items messagebox.show(obj.tostring) next it showing combobox datasource object, not showing, in items
is there class type extract? objectcollection. when add together things them there stored objects. cast obj it's type , proceed.
for each obj in cbcombobox.items dim item = trycast(obj, {the object type or class}) if not item nil 'use item converted correctly end if next vb.net foreach combobox
Comments
Post a Comment