Hi,
I receive a dataset from webservice which I then use to populate a datagrid on windows form.
The user can then make changes in the datagrid on the windows form (i.e. add, delete or update a record).
Can I then have a button which basically takes the data in the grid (i.e the datset) with the changes and pass it back to the webservice
Would you say that I am on the right track if I use dataset.HasChanges ...
Thanks

datset
dsutherland
If you only use a datatable you have to send it record by record (i think) not recomended.
when using a datatable you can use a dataview to get the changes (rowstatefilter)
Remco
e_LA
NitinDhall
What about if the grid is populated using a datatable instead
Thanks
kishan_99
if mydataset.haschanges = true then
dim dsChanges as dataset = mydataset.changes
endif
Send DsChanges back to the webservice
Yes you are
Remco