private void button3_Click(object sender, EventArgs e)
        {
            menütatlı geri = new menütatlı();

            this.Hide();
            geri.Show();
        }
Exemple #2
0
        private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
        {
            idnumber();
            OleDbCommand cmd = new OleDbCommand("update sipariş set icecek= '" + comboBox3.Text.ToString() + "' where ID=@id", con);

            cmd.Parameters.AddWithValue("@id", (Convert.ToInt32(label5.Text)));
            con.Open();
            cmd.ExecuteNonQuery();
            con.Close();
            menütatlı ileri = new menütatlı();

            this.Hide();
            ileri.Show();
        }