Get datakey from gridview rowupdating
Nude girl cam roulette chat
Because when any of the event generated in Grid Veiw it fires Row Command Event. This method fetches data from the Get Employees method which returns Data Set from Employees table. To switch the normal mode to Edit mode of gridview Edit Index property plays important role.Add three Template Field Column for Employee Name, Designation, & Delete Button.Add Edit button from Command Field Group from Property Window.Template Field Colums have Item Template, Alternating Item Template, Edit Template, Header Template, Footer Template.
Each template columns Item Template field contains Label Control & Edit Template contains Text Box control for Editing item.
Please keep in mind that there are many different ways to update the database using the Grid View control depending on the type of data you are updating and the functionality the user need and there are many solutions to achieve the same end result.
Get datakey from gridview rowupdating comments