Datagrid and Gridview in Asp.net

ASP.NET version 1.x have one most commonly usedDataGrid with GridView control.For accessing data in
Web controls that is DataGrid. DataGrid control helpsASP.NET 1.x, developers need some code.with the
to display data on an ASP.NET page just like ahelp of data source controls,data can be easily
breeze. we can simply drag and drop the DataGrid onaccessed through simple syntax in the HTML portion
our webpage, we can also specify columns/fields andof the ASP.NET Web page.The data source controls
we can also format that fields and columns. Therecan be added to a page by simply dragg and
are some feature of DataGrid that's helps end userdrop.And, the specific data to retrieve can be
to page, sort, and even edit the data within thespecified entirely through the Design view. Once a
DataGrid.data source control sholud configured, it can be easily
After that DataGrid takes a huge improvement overbound to a data Web control, just like GridView, by
pre-ASP.NET techniques for showing data,But havesetting the data Web control's DataSourceID
some limitations till now. For starters, binding any dataproperty to the ID of the data source control.
to a DataGrid still required some code to written, andData source controls in ASP.NET 2.0 access data with
often repetitive code at that. And something morequicker and easier with compare to to ASP.NET
that how to utilize any of the DataGrid moreversion 1.x.GridView also makes showing that data
advanced features-handling deletes, providingmuch simpler than with the DataGrid in ASP.NET
pagination, or sorting support-required additional codeversion 1.x.
and time.With the GridView you can specify that the data be
ASP.NET 2.0 gernate some facility to fixes thesortable and/or pageable by simply checking a
problems of the DataGrid through a set of datacheckbox.This process is also when Delete column.
source controls designed to manage data that can beTo know more about asp net interview questions
bound to data Web controls, and a replacement thevisit - dotnetquestion.