About 42,400 results
Open links in new tab
  1. SqlConnection Class (Microsoft.Data.SqlClient) | Microsoft Learn

    A SqlConnection object represents a unique session to a SQL Server data source. With a client/server database system, it is equivalent to a network connection to the server.

  2. C# - SqlConnection Example - Dot Net Perls

    Dec 24, 2024 · We use SqlConnection in a "using" statement. The SqlConnection has a constructor that requires a string reference pointing to the connection string character data.

  3. A Guide to Using SQLConnection in .NET | by Benedict Odoh

    Aug 10, 2025 · Whether you're reading customer data or updating product inventories, this guide will walk you through how to use SqlConnection to establish reliable and effective …

  4. ADO.NET Core SqlConnection Class - Dot Net Tutorials

    The SqlConnection class (typically from the Microsoft.Data.SqlClient namespace) in ADO.NET Core is used to establish and manage a session with a SQL Server database.

  5. A Comprehensive Guide to Using SqlConnection in C#

    Aug 7, 2024 · When working with databases in C#, one of the essential components is the SqlConnection class. This class allows you to establish a connection to a SQL Server …

  6. C# SqlConnection Example: Using, SqlCommand - The Developer …

    We use SqlConnection in a "using" statement. The SqlConnection has a constructor that requires a string reference pointing to the connection string character data.

  7. How to Connect to SQL Database on C# - Delft Stack

    Feb 2, 2024 · This tutorial demonstrates how to connect to a SQL database on C# using SqlConnection object.

  8. C# - SqlClient Tutorial - Dot Net Perls

    Aug 27, 2025 · The types we use include SqlConnection, SqlCommand, and SqlDataReader. This tutorial is based on the local computer. But its steps can be applied on the network by using a …

  9. SqlConnection Class (System.Data.SqlClient) | Microsoft Learn

    A SqlConnection object represents a unique session to a SQL Server data source. With a client/server database system, it is equivalent to a network connection to the server.

  10. Working with SqlConnection in C# for Database Connectivity

    Aug 26, 2023 · The SqlConnection class from the System.Data.SqlClient namespace provides the necessary functionalities to connect to Microsoft SQL Server databases. This article will guide …