Repeater Vs Datagrid

G

Guest

Hi All

For one page I want to implement sortng as well as paging. Curretly that page is using datagrid for data binding and sorting. Datagrid supports attributes like sortexpression and sort order to provide sorting very easily. is there any thing supported by repeater. Also for repeater I have one paging repeater class ready with me. So, i vcan simply derive a class from it and implement things

But, what i want to know is which one is better keeping into mind the performance? datagrid also supports paging. but, i suppose it will fetch all the records only to sow 25 out of it. So, can anyone please guide me on this for points like performance, less developement time etc..
 
S

Scott M.

You can't edit data with repeaters, you can with DataGrids. For this reason
alone, a repeater takes less overhead than a DataGrid. But consider that
it's not so much the overhead the object uses here as it is the data you are
pumping into it. So, they both may wind up performing about equal.


Pums said:
Hi All,

For one page I want to implement sortng as well as paging. Curretly that
page is using datagrid for data binding and sorting. Datagrid supports
attributes like sortexpression and sort order to provide sorting very
easily. is there any thing supported by repeater. Also for repeater I have
one paging repeater class ready with me. So, i vcan simply derive a class
from it and implement things.
But, what i want to know is which one is better keeping into mind the
performance? datagrid also supports paging. but, i suppose it will fetch all
the records only to sow 25 out of it. So, can anyone please guide me on this
for points like performance, less developement time etc...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top