About 1,270,000 results
Open links in new tab
  1. c# - How can I set an SQL Server connection string? - Stack Overflow

    May 8, 2017 · I'm developing a simple C# application, and I'd like to know this: When I connect my application to SQL Server on my PC, I know the connection string (server name, …

  2. c# - How to get the connection String from a database - Stack …

    May 7, 2012 · I have created a database with SQL Server Management Studio, I would like to now use it in my C# application. I need the connection string? Where can I find the connection …

  3. Connection string using Windows Authentication - Stack Overflow

    This Stack Overflow thread discusses how to use a connection string with Windows Authentication in your application.

  4. Setting up connection string in ASP.NET to SQL SERVER

    Before you setup your connection string in code, ensure you actually can access your database. Start obviously by logging into the database server using SSMS (Sql Server Management …

  5. c# - Setting connection string with username and password in …

    I am working on my first ASP.NET Core MVC application.What is the right way to specify the connection string in a ASP.NET Core MVC application with a sql server backend requiring sql …

  6. c# - Changing SqlConnection timeout - Stack Overflow

    Apr 11, 2012 · The question here probably is very clearly about the Connection Timeout, which defaults to 15, and is a read-only property of an SqlConnection that must be defined in the …

  7. SQL Server connection string in Appsettings.json + .net Core 3.1

    Jan 22, 2021 · 1 I'm trying to setup and connect to my remote development SQL Server (SQL 2017) in appsettings.json within .NET Core 3.1, I have tried the following approaches yet …

  8. What is the format of a SQLConnection connection string?

    Jul 7, 2018 · This will provide you with better answers. Catalog is a different name for database, you're connecting to a SQL server and use catalog to specify the database which you want to …

  9. c# - Using Encrypt=yes in a Sql Server connection string -> …

    Sep 9, 2010 · I'm using Encrypt=yes in a SQL Server connection string, as I need the TCPIP traffic to be encrypted, but on opening the connection I get an error: A connection was …

  10. c# - Get ConnectionString from appsettings.json instead of being ...

    Aug 21, 2017 · I have also included a piece of code to check that a valid connection string is returned: private NpgsqlConnection GetConnection () { var builder = …