I am developing an forms application where user can get tables data from database
into gridviewcontrol which is editable so that user can update some data in the grid and when user clicks update buttonon the form the updated datagrid values should update in database. User can update more column values at a time.
I am working on datagrids for the frist time and I managed to get data from databse and display in data grid but I am not able to update edited data back top database.
I am developing an forms application where user can get tables data from database
Share
Check the links below.
http://www.codeproject.com/Articles/12846/Auto-Saving-DataGridView-Rows-to-a-SQL-Server-Data
C# Issue: How do I save changes made in a DataGridView back to the DataTable used?
WinForms DataGridView – update database
C# WinForms – how to send updates from DataGridView to DataBase
Save changes in dataGridView