This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the update operation, whenever this event occurs.
A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.
These properties will automatically render Edit, Update and Cancel buttons inside Grid View column.
I am using Template Field’s Item Template and Edit Item Template for providing read only and editing interface of the same column in the Grid View.
NET 2.0, Microsoft has introduced Grid View control which too displays tabular data in a grid.
With Grid View control, you can display, edit, and delete data directly from different kinds of data sources with out writing any single piece of code Grid View control automates paging, sorting and database operations like updating, deletion and selection of data with out writing single piece of code.
The controls can bubble up their eventhandlers, allowing the main Data Grid event handler to take care of its constituents. 5)Gid View is Capable of Pre-Operations and Post-Operations. 6) Following are the Data Grid Data Control Styles: i.
state in a hidden form field and bakes it right into the page-processing framework. Separator Style 7) Following are Data List Data Control Templates: i. The expiration date indicates to the browser that it should write the cookie to the client's hard drive . A default format is applied to non-string values and it can be changed.provides the means to display a group of records from the data source (for example, the first 10), and then navigates to the "page" containing the next 10 records, and so on through the data., the data can be rendered in separate columns, in the order it occurs in the data source.By default, the field names appear in the grid's column headers, and values are rendered in text labels.