Sanjay Irnai
What is difference between Repeater and GridView control in ASP.NET?
Posted by Sanjay Irnai in ASP.NET Programming on Nov 05, 2012
  • 0
  • 2
  • 5540
Do you know the answer for this question? Post it below.
Posted by shankar kumar on Feb 07, 2014
  • 0

A GridView displays your data source in an HTML table and extends it to allow paging, sorting, editing etc. A repeater is a template control, where you specify the html that is used to render each row. A gridview can only show your data in a table, but a repeater can show your data in any way you want by creating the relevant ItemTemplate. For example you might show a list of products, with each product having an image, description, list of colours, price etc, all arranged as you'd normal see a product listing. A repeater can supply that kind of display flexibility.

Posted by Satyapriya Nayak on Nov 15, 2012
  • 0