Which of the following formats supports editing and sorting of data?

  • If you need a quick and easy solution use a DataGrid.
  • If you need a lightweight read-only tabular display use a Repeater.
  • If you need your solution to be small and fast use a Repeater (lightest) or DataList (lighter).
  • If you want to use a template to customize the appearance of the display choose a Repeater or DataList.
  • If you want to select rows or edit the contents of a data table choose a DataList or a DataGrid.
  • If you want built-in support to sort your data by column or paginate its display choose a DataGrid.