This is a migrated thread and some comments may be shown as answers.
Save changes of edited rows back to database
1 Answer 39 Views
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Feb 2020, 12:19 PM

This should be simple, I'm editing the data in the rows and I'd like those changes to be saved back to the database.

 

I have attached a screenshot to make it more clear.

 

In the screenshot i've circle my rows that i would edit and have its changes saved to database.

I'm using c# winforms, and my database is using microsoft SQL server

1 Answer, 1 is accepted

Sort by
0
Nadya
Telerik team
answered on 12 Feb 2020, 09:30 PM

Hello John,

According to the provided information, it seems that you need to populate RadGridView with data coming from your database and once any changes occur in the grid, they should be stored to back to the database. Note, when RadGridView is in bound mode each change of the row will update the DataBoundItem accordingly.

Please have a look at the following help article demonstrating how to save changes to the database: https://docs.telerik.com/devtools/winforms/controls/gridview/populating-with-data/updating-the-database-with-ado.net

I hope this information helps. Let me know if you have additional questions.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
John
Top achievements
Rank 1
Answers by
Nadya
Telerik team
Share this question
or