Esempio n. 1
0
        protected void btnSua_Click(object sender, EventArgs e)
        {
            dv = LayDuLieuTuForm();
            bool result = cn.UpdateDonVi(dv);

            if (result)
            {
                lblThongBao.Text = "Cập nhập thành công";
                DoDuLieuVaoGridView();
                XoaNoiDung(Page);
            }
            else
            {
                lblThongBao.Text = "Có lỗi";
            }
        }