更新导出报表数据显示

This commit is contained in:
GukSang.Jin
2026-03-06 11:15:34 +08:00
parent 93bd7f683a
commit cb3203c456

View File

@@ -1936,6 +1936,7 @@ namespace WindowsFormsApp6
string operatorName = textBox6.Text.Trim();
string instrument = textBox4.Text.Trim();
string deviceNumber = textBox5.Text.Trim();
string datafile = textBox8.Text.Trim();
string testTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
// 第一行信息
@@ -2027,7 +2028,7 @@ namespace WindowsFormsApp6
cell27.CellStyle = styles.dataStyle;
ICell cell28 = infoRow2.CreateCell(9);
cell28.SetCellValue("");
cell28.SetCellValue(string.IsNullOrEmpty(datafile) ? "" : datafile );
cell28.CellStyle = styles.yellowStyle;
}