Hi
What is the difference between GridView and DataGrid(Windows) ?
GridView and DataGrid(Windows)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted May 16, 2012, 9:41 AM EDT
GridView
1) GridView Control Enables you to add sorting,pagingand 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)DataGrid Control raises single Event for operations
2)DataGrid Supports the Sort Command Events that occur when a column is Soted.
3)DataGrid Supports UpdataCommand Event that occurs when the Update Button 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
Please refer the below link
http://www.dotnetfunda.com/interview/exam351-what-is-the-difference-gridview-and-between-datagridwindows.aspx
Thanks