Example #1
0
        private void button12_Click(object sender, EventArgs e)
        {
            dtonhacc MT = new dtonhacc(textBox12.Text, textBox11.Text, textBox10.Text, textBox9.Text);

            try
            {
                busnhacc bus_mt = new busnhacc();
                bus_mt.update(MT);
                LoadData2();
                MessageBox.Show("sửa thành công");
            }
            catch
            {
                MessageBox.Show("sửa không thành công");
            }
        }