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

Manual Insert/Update/Delete operations with sql statements from the code-behind

5 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
shivesh
Top achievements
Rank 1
shivesh asked on 11 Nov 2010, 01:45 PM
hi,
plz give me a sample for manually insert update delete in rad-grid with using session for row by row user entry.
save data on final submit button.
i am creating row dynamically on click of newrow button user make entry then again for new row untill last entry.
so plz give me any sample code related to such example where user first make all entry and store in session variable
and at last on submit button save all value in database here i am using 3 tables.
thanks

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 11 Nov 2010, 02:11 PM
Hello Shivesh,


I hope you are searching for performing batch update in grid. If so the following link will be of help.
Performing batch updates


-Shinu.
0
shivesh
Top achievements
Rank 1
answered on 12 Nov 2010, 08:03 AM
Hi Shinu,
Thanks for yr help it make help for me..but my scenario is ....
U are right but i don't want to save all grid value with update all command that is available inside rad-grid.
here i want to that first user make all entry and then click on submit button that are outside from Rad-Grid  
that time save all value in database because i am also inserting customer detail of first part of my order form
when user make submit button then customer detail and order detail both will be update database.

Thanks

0
Iana Tsolova
Telerik team
answered on 18 Nov 2010, 12:14 PM
Hello shivesh,

Please find the attached sample illustrating how you can save the newly added records in Session and display them in the grid along with the original records returned from the database.

Regards,
Iana
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Eva
Top achievements
Rank 1
answered on 11 Aug 2011, 07:04 PM
Shinu,

This link doesn't work anymore.

Thanks.
Eva
0
Shinu
Top achievements
Rank 1
answered on 12 Aug 2011, 04:30 AM
Hello Eva,

Here is the correct link.
Performing Batch Updates

Thanks,
Shinu.
Tags
Grid
Asked by
shivesh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
shivesh
Top achievements
Rank 1
Iana Tsolova
Telerik team
Eva
Top achievements
Rank 1
Share this question
or