1
This commit is contained in:
@@ -53,7 +53,7 @@ namespace GZ_LTHPilot_ORDER.Common
|
||||
}
|
||||
for (int i = 0; i < datatable2.Columns.Count; i++)
|
||||
{
|
||||
newRow.Cells[i].ReplaceText("{" + i.ToString() + "}", Convert.ToString(item[i]).TrimEnd('0', '.'));
|
||||
newRow.Cells[i].ReplaceText("{" + i.ToString() + "}", Convert.ToString(item[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -90,18 +90,18 @@ namespace GZ_LTHPilot_ORDER.Common
|
||||
//插入一个组合
|
||||
#region
|
||||
Row newRowfour = table.InsertRow(previousRowfour, 1);
|
||||
newRowfour.Cells[1].ReplaceText("{9}", Convert.ToString(Rows[0][11]).TrimEnd('0', '.'));
|
||||
newRowfour.Cells[1].ReplaceText("{9}", Convert.ToString(Rows[0][11]));
|
||||
foreach (var Row in Rows)
|
||||
{
|
||||
Row newRowthree = table.InsertRow(previousRowthree, 1);
|
||||
for (int i = 0; i < 9; i++)
|
||||
{
|
||||
newRowthree.Cells[i].ReplaceText("{" + i.ToString() + "}", Convert.ToString(Row[i]).TrimEnd('0', '.'));
|
||||
newRowthree.Cells[i].ReplaceText("{" + i.ToString() + "}", Convert.ToString(Row[i]));
|
||||
}
|
||||
document.ReplaceText("{10}", Convert.ToString(Row[10]).TrimEnd('0', '.'));
|
||||
document.ReplaceText("{10}", Convert.ToString(Row[10]));
|
||||
}
|
||||
Row newRow = table.InsertRow(previousRow, 1);
|
||||
newRow.Cells[0].ReplaceText("{0}", string.Format("{0}、{1}", ConvertToChineseUppercase(Index), Convert.ToString(item)).TrimEnd('0', '.'));
|
||||
newRow.Cells[0].ReplaceText("{0}", string.Format("{0}、{1}", ConvertToChineseUppercase(Index), Convert.ToString(item)));
|
||||
#endregion
|
||||
Index--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user