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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Soft CornerRank #1,221 · 1.5K reputationPosted Mar 18, 2011, 10:20 PM EDT
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.
Karthikeyan AnbarasanRank #71 · 25.5K reputationPosted Mar 18, 2011, 9:53 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Mar 18, 2011, 9:58 PM EDT
Prakash Chotaliya25 reputationPosted Mar 18, 2011, 10:41 PM EDT
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 ...