GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 7 of 164    Print  
Difference between datagrid and datareader?

  
Total Answers and Comments: 6 Last Update: April 22, 2009   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: giri
 
data grid is used display the data with sorting and paging features  
where as dataerader is used to store the result of an executed query from the database(keeps result with it)..

Above answer was rated as good by the following members:
Parth82
July 06, 2005 05:25:12   #1  
giri        

RE: Difference between datagrid and datareader?
data grid is used display the data with sorting and paging features
where as dataerader is used to store the result of an executed query from the database(keeps result with it)..

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
October 07, 2005 04:34:26   #2  
Madhuri.Ch        

RE: Difference beetween datagrid and datareader?
A datagrid is a simple server control to which data from a datsourcecan be binded.whereas a datareader is a a forward only stream of data from the data source that holds reference to one record at any given time
 
Is this answer useful? Yes | No
May 15, 2006 23:15:50   #3  
orion Member Since: May 2006   Contribution: 5    

RE: Difference beetween datagrid and datareader?

A datareader can be assigned to a datagrid as it's data source.


 
Is this answer useful? Yes | No
July 20, 2007 09:18:29   #4  
manab Member Since: October 2005   Contribution: 1    

RE: Difference beetween datagrid and datareader?
Datagrid populates the data fetched from the database through a data reader object.
 
Is this answer useful? Yes | No
September 16, 2008 07:39:52   #5  
dines212 Member Since: September 2008   Contribution: 1    

RE: Difference beetween datagrid and datareader?
DataReader reads the data faster then Data Adapter
Data Grid contains sorting and paging fecility

 
Is this answer useful? Yes | No
April 22, 2009 04:06:56   #6  
sanjeev_ksinha Member Since: April 2009   Contribution: 1    

RE: Difference between datagrid and datareader?
Datagid is a control which is used to display the attribute data at client side.
Datareader is a object which is mainly used to store the data executed query data.

 
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