Is it completely necessary to update the database and refresh the dataset which the grid is bound to in order to get the datagrid to rebind to the dataset?
sqldataadapter.update(sqldataset)
sqldataadapter.fill(sqldataset)
datagrid.databind
I'd like to make changes only in the dataset itself and then wait to push all changes to the database upon user command. The problem arises when I try to delete a record from the dataset and then rebind without updating/fetching changes to/from the database. The datagrid shows up with only column headings - no data. Thanks for any tips.
Zatch
sqldataadapter.update(sqldataset)
sqldataadapter.fill(sqldataset)
datagrid.databind
I'd like to make changes only in the dataset itself and then wait to push all changes to the database upon user command. The problem arises when I try to delete a record from the dataset and then rebind without updating/fetching changes to/from the database. The datagrid shows up with only column headings - no data. Thanks for any tips.
Zatch