Row updating event in grid view
The Command Argument property complements the Command Name property by allowing you to provide any additional information for the command to perform.
In the template field I will Place a label or some controls, So that it’s very easy to access those controls in the code behind by using Find Control method. Item Template is the content to display for the items in the Template Field.
This enhances the functionality and interoperability of the Web.
Secondly if you want to include a custom field (some button or link) in the same column it’s not possible.
If we use proper command names for the buttons like “EDIT”, “DELETE”, “UPDATE”, “CANCEL” these will also trigger the appropriate Grid View Events.
If he clicks edit (or) in the edit mode he can be able to see the Textbox.
The above piece of code will also do the same as label in Item Template and Textbox in the Edit Item Template.