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

20 lines
480 B
Markdown

Visual Studio + SQLPlus Integration.
Integration code:
```cs
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.");
}
}
}
```