Kod: Zaznacz cały
SqlConnection conn = new SqlConnection("Data Source=USER-KOMPUTERSQLEXPRESS;Integrated Security=True");
conn.Open();
Kod: Zaznacz cały
SqlConnection conn = new SqlConnection("Data Source=USER-KOMPUTERSQLEXPRESS;Integrated Security=True");
conn.Open();
Kod: Zaznacz cały
// utworzenie i otwarcie połączenia z bazą
SqlConnection conn = new SqlConnection("Data Source=mssql.wmi.amu.edu.pl;Initial Catalog=ania;Integrated Security=True");
conn.Open();