• The GridView control is a feature rich and versatile control used to accept,
display, and edit data on a web page. It is a commonly used control in
ASP.Net web applications.
• To use a GridView control a DataSource control has to be attached to the
GridView control. The property DataSourceID of the GridView control
binds the GridView control to the DataSource control and allows paging,
sorting and database operations with the DataSource.
• There are four popular DataSource controls and SqlDataSource control is
one of them. We use SqlDataSource control, to attach the GridView
control to the Sql Server Data base.