Top "Connection-string" questions

A string containing information necessary for connecting to a service, usually database.

DSN to connectionstring?

We've got an ASP.NET website that uses a database that we want to be able to use a connectionstring …

asp.net odbc connection-string dsn
Reading connection string from external config file

I have created a console application and an app.config file and Connections.config file. The app.config file has …

c# connection-string app-config external configuration-files
EDMX connection string

so the story is like this. I have a project, called PA.DLL, which have an entity model inside of …

entity-framework connection-string edmx
Get user and password from ConnectionStringSettings

How can I get the user and password from such a connectionString in the app.config with a .NET function? …

c# connection-string app-config
How i can use the connectionString of the current website for log4Net instead of configuring

I use log4Net for my system's log. The connectionString node is mandatory if the appender type is the AdoNetAppender …

c# log4net connection-string
SQL integrated security using computer name instead of user name

I am trying to an SQL Express instance on the same network, authenticating with my domain user. It works just …

.net sql authentication connection-string
EF 5 Changing Connection String at Runtime

Ok, I want to recreate a project that I created using EF 4.1 to EF 5.0, simple enough or at least I …

entity-framework entity-framework-4.1 connection-string entity-framework-5
How to add Azure SQL Server connection string to app.config in Windows Forms?

I'm trying to add an Azure SQL Server connection string into my app.config file, but there are red underlines …

sql-server connection-string azure-sql-database azure-sql-server
ASP.NET: How to create a connection from a web.config ConnectionString?

How do you construct a DbConnection based on a provider name? Sample provider names System.Data.SqlClient System.Data.OleDb …

ado.net web-config provider connection-string dbconnection
How do I set an ADO.NET Entity Framework connection string via the Windows Azure (Preview) Management Portal?

In the Windows Azure (Preview) Management Portal you can change the configuration options for web sites (see http://www.windowsazure.…

entity-framework deployment azure connection-string azure-web-app-service