They inherit from IDataReader so the one for Sql Server is SqlDataReader.
If you are using the 1.1 framework, there's an ODBCDataReader
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemdataodbcodbcdatareaderclasstopic.asp
HTH,
Bill
> Is the DataReader only for SQLServer or can it be used with ODBC? If so, is
> anyone aware of a sample out there?
Earl - 04 Mar 2004 18:38 GMT
That link was very helpful Bill. Thanks.
> They inherit from IDataReader so the one for Sql Server is SqlDataReader.
> If you are using the 1.1 framework, there's an ODBCDataReader
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemdataodbcodbcdatareaderclasstopic.asp
> HTH,
>
> Bill
> > Is the DataReader only for SQLServer or can it be used with ODBC? If so,
> is
> > anyone aware of a sample out there?