protected void btnLuuThuaDat_Click(object sender, EventArgs e)
 {
     if ((ThaoTac)Session["ThaoTac"] == ThaoTac.ThemMoi)
     {
         bool kq = don.ThemThuaDat(Session["MaHoSo"].ToString(), txtToBanDo.Text, txtSoThua.Text, txtDiaChiThuaDat.Text, txtDienTich.Text, txtDTSDChung.Text, txtDTSDRieng.Text, drLoaiNguonGoc.SelectedValue, txtMucDich.Text, drHanChe.SelectedValue, txtHanChe.Text, txtNgayBatDau.Text, txtThoiHan.Text);
     }
     else if ((ThaoTac)Session["ThaoTac"] == ThaoTac.DangSua)
     {
         bool kq = don.SuaThuaDat(lblMaThuaDat.Text, Session["MaHoSo"].ToString(), txtToBanDo.Text, txtSoThua.Text, txtDiaChiThuaDat.Text, txtDienTich.Text, txtDTSDChung.Text, txtDTSDRieng.Text, drLoaiNguonGoc.SelectedValue, txtMucDich.Text, drHanChe.SelectedValue, txtHanChe.Text, txtNgayBatDau.Text, txtThoiHan.Text);
     }
     LoadgrvThuaDat();
     Session["ThaoTac"] = ThaoTac.KhongNhap;
     ApDungTrangThai();
 }