예제 #1
0
파일: CMS.aspx.cs 프로젝트: orlyjamie/JKS
 private void btnSubmit_Click(object sender, System.EventArgs e)
 {
     Session["weekstartdate"] = null;
     if (CMScode.checkstatusCMS(Convert.ToInt32(ddlDepartment.SelectedValue)) > 0)
     {
         Response.Redirect("WeeklySummary.aspx?dep=" + CMScode.EncryptData(ddlDepartment.SelectedValue));
     }
     else
     {
         Page.RegisterStartupScript("reg", "<script>fn_Error();</script>");
     }
 }
예제 #2
0
 private void btnSubmit_Click(object sender, System.EventArgs e)
 {
     Session["weekstartdate"] = Convert.ToString(ddlWeekStartDate.SelectedValue);
     Response.Redirect("WeeklySummary.aspx?dep=" + CMScode.EncryptData(ddlDepartment.SelectedValue));
 }