Пример #1
0
        protected void btnsua_Click(object sender, EventArgs e)
        {
            s = LayDuLieuTuForm();
            bool result = cn.Updatequanlynv(s);

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