---
title: "Diff Data Grid and Repeater"  
description: "Diff Data Grid and Repeater"  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/132/diff-data-grid-and-repeater  
category: "db2"  
tags: ["db2"]  
reading_time: 1 minute  

---

# Diff Data Grid and Repeater

**Difference between DataGrid and Repeater\
\** 1) Repeater is template driven, DataGrid is rendered as Table.\
2) Repeater cannot automatically generates columns from the data source, where as DataGrid can.\
3) Repeater supports customizable row separator, where as DataGrid does not support this feature.\
4) Sorting and Paging is only allowed in DataGrid but not in Repeater.\
5) Selection of row is supported by DataGrid and not by Repeater.\
6) Editing of contents is supported by DataGrid and not by Repeater.

## Answers

### Answer by Rajesh Goswami

**Difference between DataGrid and Repeater\
\** 1) Repeater is template driven, DataGrid is rendered as Table.\
2) Repeater cannot automatically generates columns from the data source, where as DataGrid can.\
3) Repeater supports customizable row separator, where as DataGrid does not support this feature.\
4) Sorting and Paging is only allowed in DataGrid but not in Repeater.\
5) Selection of row is supported by DataGrid and not by Repeater.\
6) Editing of contents is supported by DataGrid and not by Repeater.


---

Original Source: https://www.mindstick.com/interview/132/diff-data-grid-and-repeater

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
