hi all ,
I am totally confused with asp.net data controls, It always been slow with my database data .. so let me knw How will decide the design consideration to take a Datagrid , datalist or repeater ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Soft CornerPosted Mar 19, 2011, 2:20 AM
Practically it will always been difficult to say which control is better, as suthish said might be your data binding rate is at high stage.
theoretically i can tell you something which will be helpful for you :
1.Many make a blind choice of choosing datagrid directly , but that's not the right way. Datagrid provides ability to allow the end-user to sort, page, and edit its data.But it comes at a cost of speed.Second the display format is simple that is in row and columns.
2.Real life scenarios can be more demanding that With its templates, the DataList provides more control over the look and feel of the displayed data than the DataGrid.It offers better performance than datagrid.
3.Repeater control allows for complete and total control. With the Repeater, the only HTML emitted are the values of the databinding statements in the templates along with the HTML markup specified in the templates—no "extra" HTML is emitted, as with the DataGrid and DataList. By requiring the developer to specify the complete generated HTML markup, the Repeater often requires the longest development time.But repeater does not provide editing features like datagrid so everything has to be coded by programmer . However, the Repeater does boast the best performance of the three data Web controls. Repeater is fastest followed by Datalist and finally datagrid.
Prakash ChotaliyaPosted Mar 19, 2011, 2:41 AM
Yes my data binding rate is high .. like in my table there are over 50k+ data is present .. looks like shrikant is correct ...
Thanks to all ...
Suthish NairPosted Mar 19, 2011, 1:58 AM
Karthikeyan AnbarasanPosted Mar 19, 2011, 1:53 AM