what is the difference between repeater and gridview?
vipul singh
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.
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.