Save changes of edited rows back to database

2 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Feb 2020

    Posted 08 Feb Link to this post

    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

  2. Nadya
    Admin
    Nadya avatar
    303 posts

    Posted 12 Feb Link to this post

    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.
Back to Top