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
Post a Comment