Beispiel #1
0
        private void btn_chen_Click(object sender, EventArgs e)
        {
            try
            {
                string a  = txt_maphong.Text;
                string b  = txt_tenphong.Text;
                string c  = txt_maloai.Text;
                string a1 = txt_succhua.Text;
                string a2 = txt_gd.Text;

                KETNOICSDL_ROOM.chendulieu(a, b, c, a1, a2);
                Load_DuLieu(null, null);
            }
            catch (OleDbException Exception)
            {
                String a = Convert.ToString(Exception.ErrorCode);
                MessageBox.Show(a);
            }
        }