|
@@ -211,10 +211,16 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
|
|
|
{
|
|
|
pi.SetValue(item, Convert.ToInt32(value));
|
|
|
}
|
|
|
+ else if(value.GetType().ToString() == "System.Decimal")
|
|
|
+ {
|
|
|
+ pi.SetValue(item, Convert.ToDouble(value));
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
pi.SetValue(item, value);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return result;
|