Accessing Oracle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All

I'm having a problem connecting to an Oracle database using C#

I have a service name : "SN
I have a user id :"UID
I have a password : "PWD"

I can find snippets of code on the web but am confused as to what refernces to match up with what connection strings
I would like to use an Oracle not a Microsoft provider
Iwas wondering if anyone had a short bit of code , showing from start to finish a C# connection to an Oracle database

Thanks
Dave
 
Dave said:
Hi All,

I'm having a problem connecting to an Oracle database using C# .

I have a service name : "SN"
I have a user id :"UID"
I have a password : "PWD".

I can find snippets of code on the web but am confused as to what
refernces to match up with what connection strings.
I would like to use an Oracle not a Microsoft provider.
Iwas wondering if anyone had a short bit of code , showing from start to
finish a C# connection to an Oracle database.
Thanks,
Dave.

You don't state what the actual problem is. Have you looked at:


http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataOracleClient.asp?frame=true

There is plenty of sample code on how to use the OracleConnection class to
connect to Oracle and read/update data.


Arild
 
Back
Top