private void button5_Click(object sender, EventArgs e)
{
string connetionString;
SqlConnection cnn;
connetionString = "data source=ACER-PC\\SQLEXPRESS;database =
hr;integrated security = SSPI";
cnn = new SqlConnection(connetionString);
cnn.Open();
MessageBox.Show("Koneksi
Berhasil!");
cnn.Close();
Tidak ada komentar:
Posting Komentar