vb.net - Why DataGridView cell does not accept value from textbox -


i populate datagridview1 typing cells or passing text cell textbox1 when clicking on button:

buttonclick_passtexttodatagridview1:

 datagridview1.selectedrows(0).cells(2).value = textbox1.text 

buttonclick2_update datagridview:

 dim cmdbuilder new oledb.oledbcommandbuilder(adp)          adp.update(ds, "table1") 

what type in cells saved table, problem pass textbox1.text datagridview1.selectedrows(0).cells(2) not persist.

any ideas this?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -