.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Difference Between DataGrid(Windows) and GridView

Posted By:shahin       Posted Date: March 09, 2009    Points: 25    Category: ASP.NET    URL: http://www.dotnetspark.com  

Difference Between DataGrid(Windows) and GridView


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

  1. Numeric(by default)
  2. Next Previous
  3. NumericFirstLast
  4. 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




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

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend