Page 1 of 1

Sample Connection string for App.Config

Posted: Wed 09 Mar 2016 15:59
by dliebman
Looking for a sample connection string I can put in my app.config file.

Re: Sample Connection string for App.Config

Posted: Fri 11 Mar 2016 14:52
by Pinturiccio
You can find a sample of a connection string in our documentation. For more information, please refer to
https://www.devart.com/dotconnect/oracl ... 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

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