user3584736
user3584736

Reputation: 21

connecting C# with Oracle database

I have C# and Oracle 10g installed on my workstation.And also created a C# program,so my problem is i cant connent my C# application with Oracle database.it is really freaking me out.when adding Reference i cant find "Oracle.DataAccess.dll".thnx in advance.#Amu

Upvotes: 2

Views: 130

Answers (1)

zeppaman
zeppaman

Reputation: 854

Have you installed ODAC (oracle client) components on you workstation?

If you would use Oracle.Data namespace You need them. You can download from here

Please chek database version and bitness, because it is an important factor.

If you dont want to install Oracle client, you could try to use System.Data.OracleClient namespace, that's bundled with framework. In this case take in account that's deprecated and will be removed on next version of framework (link)

Upvotes: 2

Related Questions