From f9ab48cea748c2bee10ca4a000e75fe60349ef00 Mon Sep 17 00:00:00 2001 From: sherlock Date: Thu, 13 Mar 2025 12:11:57 +0530 Subject: [PATCH] Added Lab8.md, for full stack. --- DBMS/FullStack/Lab8.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 DBMS/FullStack/Lab8.md diff --git a/DBMS/FullStack/Lab8.md b/DBMS/FullStack/Lab8.md new file mode 100644 index 0000000..0d2c4a4 --- /dev/null +++ b/DBMS/FullStack/Lab8.md @@ -0,0 +1,20 @@ +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."); + } + } +} +```