protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.IsPostBack)
     {
         HttpCookie ck = Request.Cookies["MaGDV"];
         if (ck == null)
             Response.Redirect("~/Pages/Login.aspx");
         else
         {
             WeeklyReportDAO wrdao = new WeeklyReportDAO();
             gvDSWR.DataSource = wrdao.DanhSachWRAll();
             gvDSWR.DataBind();
         }
     }
 }
 void loadDS()
 {
     WeeklyReportDAO wrdao = new WeeklyReportDAO();
     gvDSWR.DataSource = wrdao.DanhSachWRAll();
     gvDSWR.DataBind();
 }