asp.net - Can ComboBoxItem holds object value? -
from experience in silverlight, comboboxitem can holds object data, can combobox.selecteditem , cast data object type , databinding object out.
but in asp.net, comboboxitem seems have text , value property databinding. wonder if there way can databinding object out? not searching datasource , find object text , value...
thanks in advance.
you can try in code behind vb...
ctype(ddldropdownlist.items(ddldropdownlist.selectedindex), objecttype)
Comments
Post a Comment