Sample Connection string for App.Config

Sample Connection string for App.Config

Postby dliebman » Wed 09 Mar 2016 15:59

Looking for a sample connection string I can put in my app.config file.
dliebman
 
Posts: 1
Joined: Wed 09 Mar 2016 15:55

Re: Sample Connection string for App.Config

Postby 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
https://www.devart.com/dotconnect/oracle/docs/?Tutorial_connection.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>
Pinturiccio
Devart Team
 
Posts: 1928
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for Oracle