vb.net - Change data according to selected item in combobox -


i call function runs query sqlserver , returns datatable multiple columns. want data datatable change rows according selected item in combobox.

dim dt new datatable dim rint new int32  dt = subgetdb() rint = combobox1.selectedindex textbox1.text = dt.rows(rint)("description").tostring() textbox2.text = dt.rows(rint)("accountfilter").tostring() 

am on right track far?

yes ... need put of code above selectedvaluechanged event combobox1 object.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -