Sample Connection string for App.Config

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Wed 09 Mar 2016 15:55

Sample Connection string for App.Config

Post by dliebman » Wed 09 Mar 2016 15:59

Looking for a sample connection string I can put in my app.config file.

Devart Team
Posts: 2105
Joined: Wed 02 Nov 2011 09:44

Re: Sample Connection string for App.Config

Post by Pinturiccio » Fri 11 Mar 2016 14:52

You can find a sample of a connection string in our documentation. For more information, please refer to ... ction.html

The connection string is stored simply as a string value in the application config file. For example, a connection string in the App.config file can look like the following:

Code: Select all

    <add name="DefaultConnection" connectionString="User Id=Scott;Password=tiger;Data Source=Ora" 
	  providerName="Devart.Data.Oracle" />

Post Reply