Is the DataReader only for SQLServer or can it be used with ODBC? If so, is
anyone aware of a sample out there?

Re: ODBC Data Reader? by William

William
Thu Mar 04 01:44:55 CST 2004

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/frlrfsystemdataodbcodbcdatareaderclasstopic.asp

HTH,

Bill
"Earl comcast net>" <brikshoe<at.> wrote in message
news:OM5VMobAEHA.2800@tk2msftngp13.phx.gbl...
> Is the DataReader only for SQLServer or can it be used with ODBC? If so,
is
> anyone aware of a sample out there?
>
>



Re: ODBC Data Reader? by Earl

Earl
Thu Mar 04 12:38:20 CST 2004

That link was very helpful Bill. Thanks.

"William Ryan eMVP" <bill@NoSp4m.devbuzz.com> wrote in message
news:OK8oQybAEHA.132@TK2MSFTNGP10.phx.gbl...
> 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/frlrfsystemdataodbcodbcdatareaderclasstopic.asp
>
> HTH,
>
> Bill
> "Earl comcast net>" <brikshoe<at.> wrote in message
> news:OM5VMobAEHA.2800@tk2msftngp13.phx.gbl...
> > Is the DataReader only for SQLServer or can it be used with ODBC? If so,
> is
> > anyone aware of a sample out there?
> >
> >
>
>