hi friends,i need a help...

Posted by See29ram under ASP.NET on 11/10/2011 | Points: 10 | Views : 699 | Status : [Member] | Replies : 2
i have an small assignment that need to bind gridview using dynamic data table,once i bind gridview have to perform insert update and delete operations without saving into database n clicking save button i should save into database...help me guys




Responses

Posted by: SheoNarayan on: 11/10/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi See...

Here is the article that will help you doing update, delete in GridView http://www.dotnetfunda.com/articles/article29.aspx, this article will help you know how to insert record using GridVIew http://www.dotnetfunda.com/articles/article180.aspx.

The only difference is instead of saving the records into the database, save into the Session variable and on click of the Save button, loop through the rows of the DataTable or collection object in which you have saved the temporary records into the database.

Regards,
Sheo Narayan
http://www.dotnetfunda.com

See29ram, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: See29ram on: 11/11/2011 [Member] Starter | Points: 25

Up
0
Down
thankyou very much SheoNarayan.....but i need to create dynamic data table n that should bind to gridview then only i need to save.....


See29ram, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response