Interviews2 answers
what is the difference between Datalist and Gridview
2 Answers
Please refer to the following link to know the basic differences between DataList and GridView,
http://onlydifferencefaqs.blogspot.in/2012/08/aspnet-difference-faqs-6.html
Umar AliPosted Sep 1, 2012, 3:50 AM EDT
hi Shiv
There are the following differences between Datagrid and Datalist:
DataGrid:
It will support default paing (through allow pageing property)
It is performance very slow compare to Repeater and DataList.
We can display the data either rowwise or columnwise, through Repeat Columns and repeat direction property
Better to use list reports with Select, SORT, EDIT , Update, Delete and Cancel option
DataList:
Not support, but we can use paging concept through manual coding.
It is performance very compare to Repeater
We can display the data either rowwise or columnwise, through Repeat Columns and repeat direction property
Better to display tabular columns
DataGrid:
It will support default paing (through allow pageing property)
It is performance very slow compare to Repeater and DataList.
We can display the data either rowwise or columnwise, through Repeat Columns and repeat direction property
Better to use list reports with Select, SORT, EDIT , Update, Delete and Cancel option
DataList:
Not support, but we can use paging concept through manual coding.
It is performance very compare to Repeater
We can display the data either rowwise or columnwise, through Repeat Columns and repeat direction property
Better to display tabular columns
Purushottam RathorePosted Jan 31, 2011, 1:00 AM EST
