Merge branch 'master' of http://47.104.102.122:3000/panhf/CNCEC_SUBQHSE_WUHUAN
This commit is contained in:
commit
7a51a9642f
|
@ -1055,6 +1055,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
{
|
{
|
||||||
DataTable source = ObjectToTable(Grid9.DataSource);
|
DataTable source = ObjectToTable(Grid9.DataSource);
|
||||||
int Quantity1Total = 0, Quantity2Total = 0;
|
int Quantity1Total = 0, Quantity2Total = 0;
|
||||||
|
if (source!=null)
|
||||||
|
{
|
||||||
foreach (DataRow row in source.Rows)
|
foreach (DataRow row in source.Rows)
|
||||||
{
|
{
|
||||||
Quantity1Total += Convert.ToInt32(row["Quantity1"]);
|
Quantity1Total += Convert.ToInt32(row["Quantity1"]);
|
||||||
|
@ -1068,6 +1070,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
Grid9.SummaryData = summary;
|
Grid9.SummaryData = summary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public static DataTable ObjectToTable(object obj)
|
public static DataTable ObjectToTable(object obj)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue