GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 119 of 165    Print  
what is the difference between ADO and ADO.NET

  
Total Answers and Comments: 3 Last Update: September 13, 2006     Asked by: srinivasa Reddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 02, 2006 06:24:19   #1  
Tariq Nadeem        

RE: what is the difference between ADO and ADO.NET

well the main difference between ADO and ADO.NET is that ADO is connection Oriented whereas ADO.NET is Connectionless (stateless).

Connectionless means that it's not necessary to get connected to the database all the time when the application is running . It can fetch data offline or it will make a connection automatically when data is to be fetched from the database and the connection will be closed thereof .

ADO is the other way round.


 
Is this answer useful? Yes | No
August 22, 2006 04:37:01   #2  
gargi        

RE: what is the difference between ADO and ADO.NET

ADO has current record pointer. Where ADO.NET do not have that.

ADO has recordset.


 
Is this answer useful? Yes | No
September 13, 2006 11:18:28   #3  
suresh Pedireddi        

RE: what is the difference between ADO and ADO.NET

In ADO environment we have to loop thru each record. Recordset points to only current record. To fetch next record we have to user MoveNext() method of recordset.

In ADO.Net We have 2 types in getting the recrods. One is using with connection and the other one with disconnected connection.

With connected connection we have to loop thru record by record (Fast Forward only Read only). But here movenext() method is not necessary.

With disconnected connection We have dataset(nothing but mini database) contains whole data in table(s) on the client side. So we can traverse back and forth with the 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