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

Inserting new rows from gridview to database

2 Answers 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
gopal
Top achievements
Rank 1
gopal asked on 29 Nov 2010, 08:54 PM
Hi,
I have been trying to insert a new row with some values into the database table to which its binded, the insertion i do dont get reflected into the database can u help me out of this with simple sample.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Nov 2010, 07:56 AM
Hello,

 If the grid is bound to LINQ to SQL or EF context you need to call SubmitChanges();

Regards,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
gopal
Top achievements
Rank 1
answered on 30 Nov 2010, 09:03 AM
Its a normal datatable which i am retriving from the database using ado.net.
Tags
GridView
Asked by
gopal
Top achievements
Rank 1
Answers by
Vlad
Telerik team
gopal
Top achievements
Rank 1
Share this question
or