Exemplo n.º 1
0
        private void kuldüzen_Click(object sender, EventArgs e)
        {
            kuldüzen kd = new kuldüzen();

            kd.Show();
            this.Hide();
            ShoppingMainPage smp = new ShoppingMainPage();

            smp.Close();
        }
Exemplo n.º 2
0
        private void kisieklebtn_Click(object sender, EventArgs e)
        {
            cmd            = new OleDbCommand();
            cmd.Connection = con;
            con.Open();
            try {
                OleDbCommand eklekomut = new OleDbCommand("INSERT INTO musteri (mus_tc, mus_adi , mus_sad) VALUES ('" + musnotextbox.Text.Trim() + "', '" + musaditextbox.Text.Trim() + "','" + mussoyaditextbox.Text.Trim() + "')", con);
                eklekomut.ExecuteNonQuery();
            }
            catch (Exception)
            {
            }
            con.Close();
            this.Close();
            ShoppingMainPage smp = new ShoppingMainPage();

            smp.Close();
        }
Exemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            cmd            = new OleDbCommand();
            cmd.Connection = con;
            con.Open();

            int alinan_urun_miktari = Convert.ToInt32(alinan_urun_miktbox.Text);



            OleDbCommand toptancikmt = new OleDbCommand("INSERT INTO toptanci (top_adi, top_borc) VALUES ('" + top_name_tbox.Text.Trim() + "', '" + alinan_urun_miktari + "')", con);

            toptancikmt.ExecuteNonQuery();
            con.Close();
            this.Close();
            ShoppingMainPage smp = new ShoppingMainPage();

            smp.Close();
        }