Hi Ignacio,
No real "problem." I am using a project that gets data either through Odbc,
or through another mechanism (a property allows the user to choose which
method, per a requirement in our software). There is a wrapper around the
various communication mechanisms, and I wanted to make it as generic as
possible.
Since I can do what I need with a DataTable, there is no need to pursue this
further. I was just curious at this point.
Thanks,
Paul
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
An OdbcDataReader is indeed returned by OdbcCommand.ExecuteReader
It does not have any public constructor, so yes, the class cannot be created
using "new"
What is the problem with that?
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"pagates" <pa*****@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com... Hi All,
Just looking for a confirmation on something (in VS 2003).
Can an OdbcDataReader be populated only by a ExecuteReader on an
OdbcCommand?
Thanks,
pagates