From: Illishimb on

We all enjoyed the datalist and the datagrid controls in 'asp.net
datagrid' (http://www.treegrid.com/asp.net-datagrid.html) . There were
thousands of operations that we can perform using datagrid and datalist
control. 'asp net gridview'
(http://www.treegrid.com/asp.net-datagrid.html) ships with another data
bound templated control which is called Grid View. Grid View has made
everything easier for developers. 'asp net grid'
(http://www.treegrid.com/asp.net-gridview.html) changes that I have seen
in Asp.net 2.0 is that we don't require a lot of code to achieve tasks
but most of the functionality is already provided and built in the
control.

In this article we will see the GridView control in action and we will
see what type of operations we can 'dynamic table'
(http://www.treegrid.com/dynamic-table.html) perform using this control
and how this control is better than the classic datagrid control.

Using the 'sort table' (http://www.treegrid.com/sort-table.html)
Control:

If you read my previous articles on DataGrid control you might have
noticed that we need to write quite a bit of code to enable paging,
sorting and selecting an item from the datagrid. Using the gridview
control I did not even write a single line and got all the three things
i.e, paging, sorting and selection for granted.




--
Illishimb