What is the difference between Datalist and Repeater?

 Posted by Hariinakoti on 4/4/2012 | Category: ASP.NET Interview questions | Views: 6209 | Points: 40
Answer:

->Datalist supports multiple columns displaying and using repeat columns property
->Repeater doesn't support multiple columns display,no repeat columns property
->Datalist supports styles for formating templates data[headerstyle,...]
->Repeater is not providing styles
->Datalist renndering output[html content]will be slow compare with repeater.

Conclusion:
If the requirement can achieve using repeater and datalist,choose repeater for better performance.


Source: from my institute notes | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Akiii on: 4/5/2012 | Points: 10
Nice question Hari ..


Thanks and Regards
Akiii

Login to post response

More Interview Questions by Hariinakoti