Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
 Updating Data in GridView
Posted by Sayed Khushnood on  10/15/2012 2:48:18 AM Category: C#
Add to my favorites
Email to friend
I have a save button in footer of gridview and i have all columns of gridview in textbox so whenever i hit save button the data which i have edited in textbox should be updated in grid as well as database

Can you plz supply me the code?

Post Your Reply Post New Question

 Viewer's Reply
Update GridView Data From Footer Row
Answered By Moderator1 on 11/15/2012 6:53:12 AM
Dear Sayed,

We cannot provide you the complete code. But we can guide you, how to achieve your requirement. You need to provide a command name to your save button. And handle the RowCommand event of GridView in order to find the edit row index and the respective rows control. After Save, you can re-bind the GridView to display the updated data.
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
Speech Technology Magazine
Take Advantage of Oracle's 2 Day DBA Course
Introduction to Web Applications Development