DAAB 3.0

V

Vivek Sharma

Hi,

I was going through DAAB 3.0. I found microsoft.applicationblock.data and
gotdotnet.applicationblock.data. I cannot understand the difference between
ADOHelper and SQLHelper class. Also, I noticed that ADOHelper is using
IDataReader and SQLHelper is SQLDataReader.

Could anyone please help me understand the fundamental behind this as I am
new?

Thanks
Vivek
 
M

Marc Scheuner [MVP ADSI]

I cannot understand the difference between ADOHelper and SQLHelper class.
Also, I noticed that ADOHelper is using IDataReader and SQLHelper is SQLDataReader.

ADOHelper using IDataReader is used for any ADO / OleDB connection you
might need to make, e.g. to any data source which can be accessing
through ADO / OleDB, such as Outlook, MS Access, Text files, dBase
files - you name it.

SQLHelper / SQLDataReader is ONLY and SPECIFICALLY for accessing MS
SQL Server 2000 using NATIVE API's - *NOT* OleDB/ADO drivers. You
CANNOT access any other data through the SQLHelper / SQLDataReader
classes.

Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
V

Vivek Sharma

Thanks a lot. That helps
Marc Scheuner said:
SQLDataReader.

ADOHelper using IDataReader is used for any ADO / OleDB connection you
might need to make, e.g. to any data source which can be accessing
through ADO / OleDB, such as Outlook, MS Access, Text files, dBase
files - you name it.

SQLHelper / SQLDataReader is ONLY and SPECIFICALLY for accessing MS
SQL Server 2000 using NATIVE API's - *NOT* OleDB/ADO drivers. You
CANNOT access any other data through the SQLHelper / SQLDataReader
classes.

Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top