GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 147 of 165    Print  
What is the difference between datagrid and gridview?

  
Total Answers and Comments: 6 Last Update: March 31, 2009     Asked by: sreelatha 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: softwareguy
 
Datagrid can be used in web also, the major differences are regarding the sorting, inserting which has been stated already.

DataGrid can also be used in windows applications, but in earlier versions where datagrids were the only source i.e. ASP.NET 1.1, contains many issues and thus many people used to use XPTables instead of grid in windows applications.

Thanks
Ashish Jain

Above answer was rated as good by the following members:
John B, albu77
September 11, 2007 05:19:17   #1  
karna        

RE: What is the difference between datagrid and gridvi...
In data grid pageing inserting updateing deleteing are implementing by coding.

In data view automatically genaretes the inserting updateing deleting without user writing the code.

In data grid no image templete column whereas dataview have image templete column.

 
Is this answer useful? Yes | No
November 19, 2007 05:03:34   #2  
ninethsense        

RE: What is the difference between datagrid and gridvi...
Simple answer will be :
DataGrid is OLD and GridView is NEW!

GridView is introduced in ASP.NET 2.x (Visual Studio 2005). But still DataGrid is available there for compatibility.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
December 06, 2007 06:35:22   #3  
nagasridhar.m Member Since: December 2007   Contribution: 6    

RE: What is the difference between datagrid and gridview?
Datagrid is used in windows application and gridview is used in web
and in datagrid we cannot write the code for datagrid properties where as for grid view w ecan write the code like template column item template etc this will not be done in datagrid

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
March 14, 2008 05:34:09   #4  
softwareguy Member Since: March 2008   Contribution: 1    

RE: What is the difference between datagrid and gridview?
Datagrid can be used in web also the major differences are regarding the sorting inserting which has been stated already.

DataGrid can also be used in windows applications but in earlier versions where datagrids were the only source i.e. ASP.NET 1.1 contains many issues and thus many people used to use XPTables instead of grid in windows applications.

Thanks
Ashish Jain

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
January 20, 2009 08:04:28   #5  
tinku4mca Member Since: January 2009   Contribution: 1    

RE: What is the difference between datagrid and gridview?
DataGrid Support filtering but gridview doesn't support filtering

Gridview insert delete update operation can be performed automatically but in datagrid we can't.

 
Is this answer useful? Yes | No
March 30, 2009 14:23:17   #6  
hashirhimt Member Since: September 2008   Contribution: 3    

RE: What is the difference between datagrid and gridview?
GridView is latest version of DataGrid. GridView is formated control while DataGrid is unformated control. In GridView no coding require for sorting editing deleting. Hence we can say GridView has some extra feature.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape