XSSFWorkbook T_workbook = new XSSFWorkbook(T_excelfile);
T_excelfile.Close();
T_excelfile = new FileStream(this.textBox1.Text, FileMode.Truncate, FileAccess.ReadWrite);
T_workbook.Write(T_excelfile);
只有簡單的程式碼,但是 為何會如此呢?
Comments: ** Comment from web user: tonyqus **
T_excelfile.Close();
T_excelfile = new FileStream(this.textBox1.Text, FileMode.Truncate, FileAccess.ReadWrite);
T_workbook.Write(T_excelfile);
只有簡單的程式碼,但是 為何會如此呢?
Comments: ** Comment from web user: tonyqus **
This looks to be duplicate with https://npoi.codeplex.com/workitem/13103