Home » Microsoft » 70-515 » Which control should you use?
You are developing as ASP.NET Web application that will display a list of values.
The application must display the values in a tabular format in columns from top to bottom. You need to choose a control that can be bound directly to the list to render this display.
Which control should you use?
A. Datagrid
B. Datalist
C. GridView
D. DataPager
Correct Answer: B
Explanation/Reference:
The DataList Web server control displays data in a format that you can define using templates and styles. The DataList control is useful for data in any repeating structure, such as a table. The DataList control can display rows in different layouts, such as ordering them in columns or rows.