Interview answers verified by specialists.
Find interview questions and answers on this website:
Similarities: They are all ASP.NET data Web controls. They have common properties like DataSource Property DataBind Method ItemDataBound ItemCreated When the DataSource Property of a Datagrid is assigned to a DataSet then each DataRow present in the DataRow Collection of DataTable is assigned to a corresponding DataGridItem. Difference: Datagrid The HTML code generated has an HTML TABLEelement created for the particular DataRow and is a tabular representation with Columns and Rows. Datagrid has a in-built support for Sort, Filter and paging the Data. Datalist An Array of Rows and based on the Template Selected and the RepeatColumn Property value The number DataSource records that appear per HTML Repeater Control The Datarecords to be displayed depend upon the Templates specified and the only HTML generated accordingly. Repeater does not have in-built support for Sort, Filter and paging the Data.