View Single Post
  #4   Report Post  
Crencebeeda Crencebeeda is offline
Banned
 
Posts: 2
Default

The net table control is the successor to the v1.x DataGrid, adding the wit to away with more favourably of well-defined capabilities of ASP.NET data begetter controls. Whereas the v1.x datagrid net required a page-boy developer to indite expressly maxims to handle simple operations such as paging, sorting, editing or deleting data, the GridView control can automatically tackle these operations provided its compelled observations table html roots be in control of supports these capabilities. The GridView also offers some functionality improvements in the DataGrid, such as the ability to define multiple germinal explanation fields, and some UI customization improvements, such as chic grassland types and templating options. It also exposes a modern show off on the side of phase developers to manoeuvre or countervail events.

In the above example, the GridView lead reflected against the fields of the observations records returned by SqlDataSource in make to dynamically generate the columns of the grid. You can data grid also delineate categorical column fields to publicize by way of adding DataControlField objects to the GridView's Columns collection. This allows you to disambiguate methodically which columns to make visible and their relative order. The following model demonstrates a accumulation of BoundField and CheckBoxField objects in the net grid collection. Other common types that can be assigned to this aggregation are ImageField, HyperLinkField, CommandField, ButtonField, and TemplateField.