diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx index 89e0c440..5d47a5a8 100644 --- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx +++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx @@ -59,9 +59,9 @@ - @@ -72,54 +72,36 @@ --%> - - - - - - - + - + - - + - + - + - + - + + + - - - - diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs index 3300c06e..c3cd738d 100644 --- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs @@ -183,8 +183,28 @@ namespace FineUIPro.Web.JDGL.CostAnalysis mSPI = mBCWP / mBCWS; } DataTable table2 = new DataTable(); - - //this.txt2.Text = "总体施工进度赢得值参数 BCWP:" + BCWP.ToString("0.####") + " BCWS:" + BCWS.ToString("0.####") + " ACWP:" + ACWP.ToString("0.####") + "\r\n赢得值四个评价指标 CV:" + CV.ToString("0.####") + " SV:" + SV.ToString("0.####") + " CPI:" + CPI.ToString("0.####") + " SPI:" + SPI.ToString("0.####"); + table2.Columns.Add(new DataColumn("Id", typeof(String))); + table2.Columns.Add(new DataColumn("BCWP", typeof(String))); + table2.Columns.Add(new DataColumn("BCWS", typeof(String))); + table2.Columns.Add(new DataColumn("ACWP", typeof(String))); + table2.Columns.Add(new DataColumn("CV", typeof(String))); + table2.Columns.Add(new DataColumn("SV", typeof(String))); + table2.Columns.Add(new DataColumn("CPI", typeof(String))); + table2.Columns.Add(new DataColumn("SPI", typeof(String))); + DataRow row2; + row2 = table2.NewRow(); + row2[0] = SQLHelper.GetNewID(); + row2[1] = BCWP.ToString("0.####"); + row2[2] = BCWS.ToString("0.####"); + row2[3] = ACWP.ToString("0.####"); + row2[4] = CV.ToString("0.####"); + row2[5] = SV.ToString("0.####"); + row2[6] = CPI.ToString("0.####"); + row2[7] = SPI.ToString("0.####"); + table2.Rows.Add(row2); + this.Grid2.DataSource = table2; + this.Grid2.DataBind(); + this.txt3.Text = "施工进度赢得值参数 BCWP:" + mBCWP.ToString("0.####") + " BCWS:" + mBCWS.ToString("0.####") + " ACWP:" + mACWP.ToString("0.####") + "\r\n赢得值四个评价指标 CV:" + mCV.ToString("0.####") + " SV:" + mSV.ToString("0.####") + " CPI:" + mCPI.ToString("0.####") + " SPI:" + mSPI.ToString("0.####"); diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs index 37236787..5f636974 100644 --- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs @@ -148,13 +148,13 @@ namespace FineUIPro.Web.JDGL.CostAnalysis { protected global::FineUIPro.GroupPanel GroupPanel2; /// - /// Grid1 控件。 + /// Grid2 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Grid Grid1; + protected global::FineUIPro.Grid Grid2; /// /// GroupPanel3 控件。