Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27212

update changes from DataGridView Back to DataTable

$
0
0
hi
i have a datagridview in my form that it get Data from a datatable ( a dataadapter fill this datatable from a sql database )
i change some data in datagridview (for example add or delete some rows , change cells content or ...) and i want this change back to datatable and finally update the database.how can i send changes to datatable from datagridview ? what is the best way to do this ?

Viewing all articles
Browse latest Browse all 27212


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>