Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datalist vs. Datagrid

Status
Not open for further replies.

Anakin2112

Programmer
Feb 20, 2003
9
0
0
US
From all the I have read, I still can't figure out when to use the right control. Could someone please tell me what the appropriate time is to use each control?
 
Anakin: The Datagrid supports additional features over the DataList, e.g., Paging and sorting. Templates are not needed in a DataGrid (simple binding e.g.). The Datagrid, by default, shows grid lines, etc... Some column types that are supported in the DataGrid not available in the DataList, e.g., the hyperlink column and ButtonColumn.

I would say functionality and customizability are superior in the DataGrid in comparison with the DataList.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top