Beispiel #1
0
        private void btnekle_Click(object sender, EventArgs e)
        {
            SqlCommand komutsil = new SqlCommand("Delete from Seanslar Where Filmid =@f1 and Salonid=@f2 and Seanssaat=@f3", baglan.baglanti());

            komutsil.Parameters.AddWithValue("@f1", label7.Text);
            komutsil.Parameters.AddWithValue("@f2", label8.Text);
            komutsil.Parameters.AddWithValue("@f3", mskdsaat.Text);
            komutsil.ExecuteNonQuery();
            baglan.baglanti().Close();
            MessageBox.Show("Kayıt Başarı İle Silindi", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
            SeansSil Frs = new SeansSil();

            Frs.Show();
            this.Hide();
        }
Beispiel #2
0
        private void btnSeanssil_Click(object sender, EventArgs e)
        {
            SeansSil frsil = new SeansSil();

            frsil.Show();
        }