Hello all...
I know this is probably very easy and I'm just missing it... but I've been trying to learn C# on my own at work and this problem has me stumped.
I am able to connect to my SQL database and view data with no problem.
As an example I created a datagrid view on a form that shows some data from a table.
What I want to do is allow the user to change data and have that data change committed to the database. As it is the user can change data, but it's never actually committed to the database.
I've read all over the place trying to figure this out... and I'm sure it's easy...
Can anyone help me with how to save changes to the SQL database that are made in a datagrid view on a form?
Thanks!
I know this is probably very easy and I'm just missing it... but I've been trying to learn C# on my own at work and this problem has me stumped.
I am able to connect to my SQL database and view data with no problem.
As an example I created a datagrid view on a form that shows some data from a table.
What I want to do is allow the user to change data and have that data change committed to the database. As it is the user can change data, but it's never actually committed to the database.
I've read all over the place trying to figure this out... and I'm sure it's easy...
Can anyone help me with how to save changes to the SQL database that are made in a datagrid view on a form?
Thanks!
Comment