System.Data.Common.DbCommand v/s Oracle.OracleAccess.Client.OracleCommand

  • Thread starter Thread starter Kuldeep
  • Start date Start date
K

Kuldeep

Hi All,

Platform: Visual Studio 2005
Programming Language: C#.NET
Technology: ASP.NET [though it doesnot matter!]

I am here trying to integrate System.Data.Common.DbCommand with
Oracle.OracleAccess.Client.OracleCommand for an ExecuteReader method..
While doing this, I get this error message:

"Error 36 Argument '1': cannot convert from
'Oracle.DataAccess.Client.OracleCommand' to 'System.Data.Odbc.OdbcCommand'
c:\inetpub\wwwroot\AppName\App_Code\DAL\OracleClient\OracleOperatorsProvider.cs
64 70 "

Is this a known problem that I need to tweak the code a bit to make it
work???

Any guidance on this is highly appreciated.

Thanks,
Kuldeep
 
What are you trying to achieve? IOW, what is the purpose of trying
integrate DbCommand with OracleCommand?

--Mary
 

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

Back
Top