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

Gridview not saving data

1 Answer 78 Views
GridView
This is a migrated thread and some comments may be shown as answers.
graham
Top achievements
Rank 1
graham asked on 25 Feb 2009, 07:12 PM
Hi,

I've just started with Telerik controls and have hit a problem already. It is probably easy to solve but puzzling.

I add radgridview to winforms form
Using smart tag I configure a dataset attached to northwind sql server - generate update, insert, delete statements etc

Check Allow edit and add

Build and run project - do some adding/editing and close the form.

When I run again none of the Adds or Edits have been persisted onto the database.

Please tell me what I'm missing.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 26 Feb 2009, 10:00 AM
Hello graham,

You should call the Update method of your data adapter in order to commit the changes. For more details check the following MSDN article.

Do not hesitate to write us if you have other questions.

Regards,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
graham
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or