CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2005
    Posts
    172

    Connection String

    Hello Everyone,

    I have a C# application and I need to connect to an oracle database sitting on a different computer.
    The computer name is test and the database name is UDA.
    I have the following connection string which does not seem to work.
    Code:
    string connectionString = "Data Source=UDA@test;User Id=username;Password=password";
    Can anyone tell me how to construct a connection string which connects to an Oracle database sitting on a different machine.

    Thanks vey much in advance

    Susan

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Connection String

    The connection string will depend on your agent.

    http://www.connectionstrings.com/?carrier=oracle
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured