protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                List <DTOPhieuDatVatLieuCC> dsPhieuDat = daoEntities.LayDSPhieuDatVatLieu_NCC();
                gridDSPhieuDat.DataSource = dsPhieuDat;
                gridDSPhieuDat.DataBind();

                foreach (GridViewRow gridRow in gridDSPhieuDat.Rows)
                {
                    Label     lbTrangThai = (Label)gridRow.FindControl("lbTrangThai");
                    HyperLink link        = (HyperLink)gridRow.FindControl("linkXuLy");
                    if (lbTrangThai.Text == "Đã xử lý")
                    {
                        link.Visible = false;
                    }
                }
            }
        }
        //danhsachphieudatvl
        public void DSPhieuDat_NCC()
        {
            DAO_Entity dao = new DAO_Entity();

            dao.LayDSPhieuDatVatLieu_NCC();
        }