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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -