8
Reply

what is the diffrence between Gridview and Datalist

sanjay pawar

sanjay pawar

9y
1.3k
0
Reply

    gridview show data in table format and datalist give display column flexibility to display horizontal and vertical.

    gridview show data in form of table but datalist doesn't show data in table format. gridview have default paging concept but in datalist we add manually datalist is light weight compare to gridview

    gridview show data in form of table but datalist doesn't show data in table format. gd hav default paging concept but in datalist we add manually datalist is light weight compare to gridview

    gridview is a control taht gives the data in tabular format but datalist gives the all data in single row format.

    gridview is a control taht gives the data in tabular format but datalist gives the all data in single row format.

    http://www.dotnet-tricks.com/Tutorial/aspnet/K0KJ111013-Difference-Between-Repeater-and-DataList-and-GridView.html

    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 propertyBetter to use list reports with Select, SORT, EDIT , Update, Delete and Cancel optionDataList:Not support, but we can use paging concept through manual coding.It is performance very compare to RepeaterWe can display the data either rowwise or columnwise, through Repeat Columns and repeat direction propertyBetter to display tabular columns

    Control Paging Sorting Grouping Insert Update DeleteGrid view Yes Yes No Yes Yes YesData List No No No Yes Yes Yesthese are the default functionality provided by grid view and data list.