Beispiel #1
0
        protected void grvChu_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            string _maChu        = grvChu.DataKeys[e.RowIndex].Value.ToString();
            bool   HoSoChinhThuc = false;

            if (Session["LoaiHoSo"] == "DuBi")
            {
                HoSoChinhThuc = false;
            }
            else if (Session["LoaiHoSo"] == "ChinhThuc")
            {
                HoSoChinhThuc = true;
            }


            bool kq = don.XoaChu(HoSoChinhThuc, _maChu);

            LoadgrvChu();
        }