From performance point of view which is the fastest:

Options
- Datalist
- Datagrid
- Repeater


CORRECT ANSWER : Repeater

Discussion Board
information about datalist,datagrid,repeater.

DataList: A data bound list control that displays items using templates.
DataGrid: Displays ADO.NET data in a scrollable grid. The DataGridView control replaces and adds functionality to the DataGrid control.
Repeater: A data-bound list control that allows custom layout by repeating a specified template for each item displayed in the list.

NOTE: Repeater using same template for each item of a list, so it is faster than DataList while as you see DataGrid is a table that have over head to change the data dynamically, so it will be slower than DataList.

from transitive property:
< denotes the comparison of time complexity
(faster) Repeater < DataList < Data (slower)

So, from analysis, 'Repeater' is fastest among them.


Mohsin Pakistan 04-12-2015 12:10 PM

Asp.net

Why Reapter is faster in database and how it will perform fast?

Reena 11-14-2014 04:19 AM

Asp . net developer

i need answer

pakiaraj 09-20-2014 12:14 AM

Detail information about datalist,datagrid,repeater.

What is datalist,Datagrid,Repeater and which is fastest

snehal 08-15-2014 01:59 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement