摘要:
foreach (DataColumn column in SourceTable.Columns){ dataRow.CreateCell(column.Ordinal).SetCellValue(row[column].ToString()); if (row[column].ToString().Contains("\n")) { //將目前欄位的CellStyle設定為自動換行 HSSFCellStyle cs = workbook.CreateCellStyle(); cs.WrapText = true; d... 阅读全文
posted @ 2013-07-31 13:56
marslin_1984
阅读(3425)
评论(0)
推荐(1)

浙公网安备 33010602011771号