Ok let’s move on to Code behind what we have to do when user clicks Edit, Delete, Update and Cancel When we click on Edit the On Row Editing event will be fired.
You can see the C# code below will give the row number whatever you are editing by New Edit Index property.
aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.
In some that includes both business logic and data-access logic.
In this tutorial you will create separate classes for business logic and for data-access logic.
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.