Rowupdating event is not
You can hide a Command Field or Button Field based on the position (index) in the Grid View.This article is very useful to all the users who are working with ASP. Here I am explaining how to work with Grid View control in ASP.Here we can update Name, Emp_Code and Emp_Age fields depending on the Id field of the "EMPLOYEE" table.Create SQL Connection We need a connection with a Microsoft SQL Server database so we can access data and perform an operation on it.Net 2.0's Grid View Control than the Data Grid Control in ASP. As I had worked with Data Grid Control so I knew how difficult to work with it in same project. The main difference between Data Grid and Grid View control is that the first one has central event handling which means any event raised by control inside the Data Grid's template column will be handled by Item Command event of datagrid.But this functionality is some what different in Grid View Control. I mean to say that in Grid View Control if you have added one template column having Grid View inside it and now if you select "Column Sorting" command then it will not call any event of Master grid.
Database Table Structure We are using an "EMPLOYEE" table so the "EMPLOYEE" table design is: Design of Grid View We design a Grid View with which we can perform update and delete operations.To bind the Child Grid to Child Data Source we have to use Row Data Bound event which is called every time when each row from database is bind to the Grid View's row.Above code will be used when user hits on Master Grid Edit button.So In the Template Column child grid with edit and delete option will get visible.In this article we will look at how to update or delete a record in a database table using a Grid View control.
Search for rowupdating event is not:
Net 2.0 which is very easier then Data Grid Control in ASP. I will also explain what are the differences in Grid View and Datagrid Control in ASP. I want to explain how to work with template column having datagrid inside. Net 2.0 Grid View control is too good, easy and very user friendly.