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

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -