|
@@ -1202,8 +1202,8 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
|
|
|
dr["e1"] = ClassName[i].ToString();
|
|
|
dr["e3"] = Math.Round(Area, 2);
|
|
|
//Convert.ToDouble(decimal.Parse(dt.Compute("sum(e3)", "").ToString()));
|
|
|
- dr["e4"] = Math.Round((Convert.ToDouble(dt.Rows[0]["e3"]) / totalInclusionArea) * 100, 2);
|
|
|
- dr["e5"] = Math.Round((Convert.ToDouble(dt.Rows[0]["e3"]) / Convert.ToDouble(m_list_dt.Where(aa => aa.TableName.Contains("ResultGrid")).ToList()[0].Rows[0][5])) * 100, 4);
|
|
|
+ dr["e4"] = Math.Round((Convert.ToDouble(Area) / totalInclusionArea) * 100, 2);
|
|
|
+ dr["e5"] = Math.Round((Convert.ToDouble(Area) / Convert.ToDouble(m_list_dt.Where(aa => aa.TableName.Contains("ResultGrid")).ToList()[0].Rows[0][5])) * 100, 4);
|
|
|
AllAnalysisDetails.Rows.Add(dr);
|
|
|
|
|
|
DataView dv = dt.DefaultView;
|