I have added the name space
using System.Data.OracleClient;
Its giving me error like
The type or namespace name 'OracleClient' does not exist in the namespace 'System.Data'
Then i have added the web reference .
You can see these links for reference
http://stackoverflow.com/questions/12218027/the-type-or-namespace-name-oracleclient-does-not-exist-in-the-namespace-syste
Search this line in the below link
http://www.codeproject.com/Articles/20019/Mixing-NET-remoting-with-COM-to-communicate-with-a
The OracleClient provider
Its written as
To make it possible to communicate with the Oracle database, you will need the OracleClient provider which is included in the Oracle9i package. Add it to the project's references, and the following line to the code:
using System.Data.OracleClient;