The
net table mainly is the successor to the v1.x DataGrid, adding the flair to arrogate consequence profit of specified capabilities of ASP.NET verification start controls. Whereas the v1.x
datagrid net required a time developer to catalogue excise system to handle sincere operations such as paging, sorting, editing or deleting figures, the GridView post can automatically try to deal these operations provided its fastened data
table html roots be in control of supports these capabilities. The GridView also offers some functionality improvements in the DataGrid, such as the facility to establish multiple primeval indicator fields, and some UI customization improvements, such as late-model grassland types and templating options. It also exposes a novel business for point developers to handle or countervail events.
In the above example, the GridView management reflected against the fields of the data records returned during SqlDataSource in status to dynamically breed the columns of the grid. You can
data grid also particularize frank column fields to plug not later than adding DataControlField objects to the GridView's Columns collection. This allows you to cite correctly which columns to communiqu‚ and their reliant on order. The following representative demonstrates a amassment of BoundField and CheckBoxField objects in the
net grid collection. Other area types that can be assigned to this aggregation are ImageField, HyperLinkField, CommandField, ButtonField, and TemplateField.