基于WebForm+EasyUI的业务管理系统造成之旅 -- 施工计划查询(Ⅷ)

上篇《基于WebForm+EasyUI的业务管理系统造成之旅 -- 施工计划安排》,主要介绍整个施工计划列表与编辑界面。html

下面看看施工计划查询(ⅠⅡⅢ ⅣⅤⅥ Ⅶ Ⅷ)app

1、施工计划查询


施工计划查询界面,以下图所示。post

点击【查询】,按年月得出该年月施工计划,具体代码以下this

 1 protected void lbtSearch_Click(object sender, EventArgs e)  2  {  3 if (CheckInput())  4  {  5 string connValue = DataFactory.BaseConnString;  6 StiReport report = new StiReport();  7 SqlConnection conn = new SqlConnection(connValue);  8 string appDirectory = Utils.GetMapPath(@"/Main/PMC/ReportModules/Reports/ConPlanReport.mrt");  9  report.Load(appDirectory); 10  report.Dictionary.Databases.Clear(); 11 report.Dictionary.Databases.Add(new StiSqlDatabase("BasePermissionV10", connValue)); 12  report.Dictionary.DataStore.Clear(); 13 report.RegData("BasePermissionV10", conn); 14  report.Compile(); 15 report["@sYear"] = this.ddlYear.SelectedValue; 16 report["@sMonth"] = this.ddlMonth.SelectedValue; 17 StiWebViewer1.Report = report; 18  } 19 }

经过报表数据钻取方式,查看详细信息spa

相关文章
相关标签/搜索