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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -