..
This commit is contained in:
@@ -1092,7 +1092,7 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
var rows = this.GetDatarows();
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows,fn);
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows, fn);
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
form_body += tabledata;
|
||||
@@ -1515,6 +1515,14 @@ namespace FEQ0000
|
||||
var row = this.dsPurchase.EETGW_PurchaseEB.Where(t => t.idx == rowidx).First();
|
||||
rows.Add(row);
|
||||
}
|
||||
if (rows.Any() == false)
|
||||
{
|
||||
if (this.bs.Count > 0)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
rows.Add(drv.Row as dsPurchase.EETGW_PurchaseEBRow);
|
||||
}
|
||||
}
|
||||
return rows;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user