MIT-Curricular/DBMS/FullStack/Lab8.md
2025-03-13 12:11:57 +05:30

480 B

Visual Studio + SQLPlus Integration.

Integration code:

using System;
using System.Data.SqlClient;

class Program
{
    static void Main(string[] args)
    {
        string connectionString = "Data Source=(local);Initial Catalog=Northwind;Integrated Security=True";
        using (SqlConnection connection = new SqlConnection(connectionString))
        {
            connection.Open();
            Console.WriteLine("Connection opened successfully.");
        }
    }
}