Interviews2 answers
what is the difference between repeater and gridview?
2 Answers
Following are the major differences between repeater and gridview controls:
1- Repeater is a light weight control and gridview is a heavy control.
2- Repeater doesn’t provide any built-in support to format the data whereas the gridview control has a very good support to format, sort and align the data.
3- Repeater provides more customization than gridview.
4- It is difficult to display data with repeater than gridview.
hafizsohaib2002Posted May 26, 2009, 4:11 AM EDT
GridView is having tabular layout. Repteater having freeform layout. In Repeater we have to set the layout by using Templates. We can design any layout for repeater by using Header Template, ItemTemplate and Footer Template.
manju bansalPosted May 24, 2009, 9:04 AM EDT