This is a migrated thread and some comments may be shown as answers.

Saving grid data to SQL

2 Answers 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 2
Rich asked on 02 Apr 2020, 05:26 PM

Hi, very basic question for noob, I searched & tried to find someone just doing a basic gridview row save...thing

I have a RadGridView bound to a  SQL database

I am wondering what the generally accepted method is, of updating a row to the database?

A button to fire off an update statement?

 

Thanks,

Rich

2 Answers, 1 is accepted

Sort by
0
Rich
Top achievements
Rank 2
answered on 02 Apr 2020, 08:33 PM

ok disregard: I poked in a "Adapter.Update", on UserAddedRow event

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Apr 2020, 04:49 AM

Hello, Rich,

I am glad that the problem you were facing is now resolved.

However, I would like to recommend the following help article since it is quite useful about updating your database after modifying RadGridView:

https://docs.telerik.com/devtools/winforms/controls/gridview/populating-with-data/updating-the-database-with-ado.net 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
GridView
Asked by
Rich
Top achievements
Rank 2
Answers by
Rich
Top achievements
Rank 2
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or