The Category ID and Category Name are the Bound columns which are bound to the "Category ID" and "Category Name" fields in the Categories table in Northwind Database.
The "Description" and "Choose" columns are template columns.
This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.
After it has been clicked the postback places that row in edit mode. At this point in time the above Edit Item Template is displayed with two Image Buttons within it.
I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.
Within the Item Template I have an Image Buttong with a Command Name of "Edit".
Another approach to saving data for the user, is the View State.
I am not able to get the changed values that i enter in the grid view .This article scope is limited to Updating and Deleting records using Grid View and I am not using any readymade Data controls for that but manually writing all event methods.I will be using Sql objects directly into methods to keep the example simple and straight forward.That’s why I have placed different templates like Item Template (for normal view) and Edit Item Template (for edit view).I have a Gridview with Auto Generate Columns="False". Now you can ask questions directly to me on my new site ASPForums. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.You will see that the textbox is now cleared, but our name label keeps the name, because the value we saved to the View State is still there!View State is pretty good for storing simple values for use in the form, but if you wish to save more complex data, and keep them from page to page, you should look into using cookies or sessions, as described in the previous chapters.In this article I will show you that how you can validate the controls which are inside the Grid View control.For this I will make the editable Grid View and use the Required Field Validator for the Text Boxes.aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB. NET  Chart  Grid View  AJAX  JQuery  Google chart  Fusion Charts  i Text Sharp  PDF  ASP.I will also show you that how you can use validation against the Drop Down List control which is contained inside the Grid View control.