GeekInterview.com
Series: Subject: Topic:
Question: 23 of 169

What is the difference between datagrid and gridview?

Asked by: Interview Candidate | Asked on: Aug 2nd, 2007
Showing Answers 1 - 7 of 7 Answers
karna

Answered On : Sep 11th, 2007

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.  

  
Login to rate this answer.
ninethsense

Answered On : Nov 19th, 2007

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.
nagasridhar.m

Answered On : Dec 6th, 2007

View all answers by nagasridhar.m

Datagrid is used in windows application and gridview is used in weband 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

  
Login to rate this answer.
softwareguy

Answered On : Mar 14th, 2008

View all answers 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.ThanksAshish Jain

Yes  1 User has rated as useful.
  
Login to rate this answer.
tinku4mca

Answered On : Jan 20th, 2009

View all answers by tinku4mca

DataGrid Support filtering but gridview doesn't support filteringGridview insert, delete, update operation can be performed automatically but in datagrid we can't.

  
Login to rate this answer.
hashirhimt

Answered On : Mar 30th, 2009

View all answers by hashirhimt

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.

  
Login to rate this answer.
Sibin Philip

Answered On : May 20th, 2011

View all answers by Sibin Philip

    In Grid View we have - Richer design-time capabilities.Improved data source binding capabilities.Automatic handling of sorting, paging, updates, and deletes.Additional column types and design-time column operations.A Customized pager user interface (UI) with the PagerTemplate property.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.