Beispiel #1
0
        private void button21_Click(object sender, EventArgs e)
        {
            dtohangsx MT = new dtohangsx(textBox13.Text, textBox12.Text);

            try
            {
                bushangsx bus_mt = new bushangsx();
                bus_mt.insert(MT);
                LoadData3();
                MessageBox.Show("thêm thành công");
            }
            catch
            {
                MessageBox.Show("thêm không thành công");
            }
        }