About 64 results
Open links in new tab
  1. How can I set an SQL Server connection string? - Stack Overflow

    May 8, 2017 · To build the connection string, you need to instantiate an object from that SqlConnectionStringBuilder and set their properties with the parameters you use to connect to the …

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

    Learn how to set up a connection string in ASP.NET to connect to a SQL Server database effectively.

  3. Sql connection-string for localhost server - Stack Overflow

    Dec 27, 2013 · I need to know what is the exact connection string for my localhost, if my server name looks like as below: Data Source=HARIHARAN-PC\SQLEXPRESS;Initial Catalog=master;Integrated …

  4. The ConnectionString property has not been initialized in .NET 8 with ...

    Nov 28, 2023 · I am working on a .NET 8 application using Entity Framework Core 8 and targeting SQL Server 2022 (Express Edition). Despite having a correct connection string in my appsettings.json, I …

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

    Jul 7, 2018 · The examples raises questions. Since the SQL Server Management Studio (SSMS) program offers a different set of fields during start up in order to connect to a database, I have to ask …

  6. sql - C# SqlConnection ConnectionString - Stack Overflow

    Could someone please help me in finding the correct SQL Connection String to connect to my database in C#. The database I wish to connect to is shown in the following screenshot from SQL Management

  7. c# - Using Encrypt=yes in a Sql Server connection string -> "provider ...

    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 successfully established …

  8. How to specify a port number in SQL Server connection string?

    Mar 14, 2011 · 4 The correct SQL connection string for SQL with specify port is use comma between ip address and port number like following pattern: xxx.xxx.xxx.xxx,yyyy

  9. connection string - MS SQL Server Availability group listener port ...

    Aug 8, 2024 · The port can be either the listener port or the underlying SQL Server port that it's configured to listen on. In this documentation there were practical examples of connection strings if …

  10. What is the point of "Initial Catalog" in a SQL Server connection string?

    If you do not set this for a connection to a server in which multiple databases are present, in many cases you will be required to have a USE statement in every query in order to explicitly declare which …