|
@@ -855,7 +855,16 @@ namespace OTSIncAReportGrids
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- dgV_ParticlesDevidePage.Rows[add_rowindex].Cells[k].Value = particles.Rows[i][enl.Current.Key];
|
|
|
+ double val = 0;
|
|
|
+ if(double.TryParse(Convert.ToString(particles.Rows[i][enl.Current.Key]),out val))
|
|
|
+ {
|
|
|
+ dgV_ParticlesDevidePage.Rows[add_rowindex].Cells[k].Value = val;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ dgV_ParticlesDevidePage.Rows[add_rowindex].Cells[k].Value = particles.Rows[i][enl.Current.Key];
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
if (enl.Current.Key == "TypeName")
|