SqlConnection baglan = new SqlConnection();
baglan.ConnectionString = @”Data Source=SENOL;Initial Catalog=BILGIISLEM;Integrated Security=True”;
baglan.Open();
SqlCommand sqlCommand1 = new SqlCommand();
sqlCommand1.Connection = baglan;
sqlCommand1.CommandText = sorgu;
sqlCommand1.ExecuteNonQuery();
baglan.Close();
Hiç yorum yok:
Yorum Gönder