예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string action = Request["action"];

            if (action == "updatenewreports")
            {
                ReportDAO.UpdateReportsWordcount(true);
            }
            if (action == "updateallreports")
            {
                ReportDAO.UpdateReportsWordcount(false);
            }

            Response.Redirect("~/UserList");
        }