I have a datagridview which is filled with data from a table in a database. In the grid, the user clicks a row to edit that specific record. An edit screen is brought up, which has a text box for each field in the table, and the user can edit the data accordingly.
My question is... once the user is done editing, how can I reload/update the data in the datagridview without completely reloading the dataadapter and re-setting the source of the grid?
I tried
dataAdapter.upd ate(dataset, "tablename" ),
and setting the source of the grid to the dataset, but no updates are shown.
My question is... once the user is done editing, how can I reload/update the data in the datagridview without completely reloading the dataadapter and re-setting the source of the grid?
I tried
dataAdapter.upd ate(dataset, "tablename" ),
and setting the source of the grid to the dataset, but no updates are shown.
Comment