Reputation: 129
Hi I have a GridView I am using built in Edit method that comes along with GridView in ASP.NET Web Forms. I want to Edit/Update the row in such way that it should only be updated dynamically in row and should not update records in database. The updated content should be hard coded to row temporarily. Can Any one help me do this task.
Thanks in advance.
Upvotes: 0
Views: 492
Reputation: 371
You can use a DataTable. Populate your DataTable with any data you want and bind it to your GridView.
Upvotes: 1
Reputation: 9
Sorry I only can give an answer no comment but my suggestion would be: Keep your data (GridView/Table) in a Session Variable and display this data until you wanna update.
Upvotes: 0