protected void btntableFormat_Click(object sender, EventArgs e) { ReportControl control = new ReportControl(); string month = ddlMonth.Text; int MonthNo = control.checkReportMonth(month); Session["Month"] = MonthNo; Session["Compare"]= cmp; Response.Redirect("~/DeptHeadTrendReport.aspx"); }
protected void btngenerate_Click(object sender, EventArgs e) { ReportControl control = new ReportControl(); String deptid = ddldeptID.SelectedValue; String month = ddlmonth.Text; int monthno = control.checkReportMonth(month); Session["Month"] = monthno; Session["DeptID"] = deptid; Session["Compare"] = cmp; Response.Redirect("~/ClerkStationaryTrendByDeptReport.aspx"); }