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>"); } }
private void btnSubmit_Click(object sender, System.EventArgs e) { Session["weekstartdate"] = Convert.ToString(ddlWeekStartDate.SelectedValue); Response.Redirect("WeeklySummary.aspx?dep=" + CMScode.EncryptData(ddlDepartment.SelectedValue)); }