---
title: "What is the difference Grid View and between Data Grid (Windows)?"  
description: "What is the difference Grid View and between Data Grid (Windows)?"  
author: "Sumit Kesarwani"  
published: 2014-11-20  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/2255/what-is-the-difference-grid-view-and-between-data-grid-windows  
category: ".net"  
tags: [".net", "datagridview", "gridview"]  
reading_time: 2 minutes  

---

# What is the difference Grid View and between Data Grid (Windows)?

1) GridView Control Enables you to add sorting, paging and editing capabilities without writing any code.

2)GridView Control Automatically Supports paging by setting the ‘PagerSetting’ Property.The Page Setting Property supports four Modles

a. Numeric(by default)

b. Next Previous

c. NumericFirstLast

d. Next PreviousLast

3)It is Used in asp.net

4)GridView Supports RowUpdating and RowUpdated Events.

5)GidView is Capable of Pre-Operations and Post-Operations.

6)GridView Has EditTemplates for this control

7)It has AutoFormat

DataGrid(Windows)

1)DataGid Control raises single Event for operations

2)DataGird Supports the SortCommand Events that occur when a column is Soted.

3)DataGrid Supports UpdataCommand Event that occurs when the UpdateButton is clicked for an item in the grid.

4)DataGrid is used in Windows GUI Application.

5)It doesnot have EditTemplates for this control

6)It doesnot have AutoFormat

## Answers

### Answer by Sumit Kesarwani

1) GridView Control Enables you to add sorting, paging and editing capabilities without writing any code.

2)GridView Control Automatically Supports paging by setting the ‘PagerSetting’ Property.The Page Setting Property supports four Modles

a. Numeric(by default)

b. Next Previous

c. NumericFirstLast

d. Next PreviousLast

3)It is Used in asp.net

4)GridView Supports RowUpdating and RowUpdated Events.

5)GidView is Capable of Pre-Operations and Post-Operations.

6)GridView Has EditTemplates for this control

7)It has AutoFormat

DataGrid(Windows)

1)DataGid Control raises single Event for operations

2)DataGird Supports the SortCommand Events that occur when a column is Soted.

3)DataGrid Supports UpdataCommand Event that occurs when the UpdateButton is clicked for an item in the grid.

4)DataGrid is used in Windows GUI Application.

5)It doesnot have EditTemplates for this control

6)It doesnot have AutoFormat


---

Original Source: https://www.mindstick.com/interview/2255/what-is-the-difference-grid-view-and-between-data-grid-windows

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
