Gridview rowupdating new value

I'll try to address your question, but I'm also going through some of the other problems here.

Without seeing your markup, it's hard for me to tell if you've created .

I want to provide my user a Gridview filled with data from database, allowing him to edit these records not in order to update the database, but in order to insert edited rows in db as new records through a stored procedure. - to use Edit built-in capabilities (Edit button, Edit Item Template etc.) because I don't need to make any real updating and I don't have a clear idea of how to "bypass" the parts I don't want.) Cri Thanks, yousuf... I think Edit Index is nothing, because the whole Edit thing is never raised.

Row Editing ds = Get Data() '// get your data here from database With gv Test .

When I click on the edit button the update and cancel button appear.

A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.

In my case this was happening because I was binding to a List of custom objects.

Note A common mistake that a lot of people do is that they perform a databind each and every-time the Page_Load method is called.

How do I grab the new values from these textboxes and proceed further?

before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).