更新导出报表数据显示
This commit is contained in:
@@ -1936,6 +1936,7 @@ namespace WindowsFormsApp6
|
|||||||
string operatorName = textBox6.Text.Trim();
|
string operatorName = textBox6.Text.Trim();
|
||||||
string instrument = textBox4.Text.Trim();
|
string instrument = textBox4.Text.Trim();
|
||||||
string deviceNumber = textBox5.Text.Trim();
|
string deviceNumber = textBox5.Text.Trim();
|
||||||
|
string datafile = textBox8.Text.Trim();
|
||||||
string testTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
string testTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
// 第一行信息
|
// 第一行信息
|
||||||
@@ -2027,7 +2028,7 @@ namespace WindowsFormsApp6
|
|||||||
cell27.CellStyle = styles.dataStyle;
|
cell27.CellStyle = styles.dataStyle;
|
||||||
|
|
||||||
ICell cell28 = infoRow2.CreateCell(9);
|
ICell cell28 = infoRow2.CreateCell(9);
|
||||||
cell28.SetCellValue("");
|
cell28.SetCellValue(string.IsNullOrEmpty(datafile) ? "" : datafile );
|
||||||
cell28.CellStyle = styles.yellowStyle;
|
cell28.CellStyle = styles.yellowStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user