|
|
@@ -76,8 +76,8 @@ namespace UAS_LabelMachine
|
|
|
dataLength = DataTable.Rows[0][i].ToString().Length;
|
|
|
dataLength = dataLength * 500;
|
|
|
}
|
|
|
- if (dataLength > 100000)
|
|
|
- dataLength = 10000;
|
|
|
+ if (dataLength > 50000)
|
|
|
+ dataLength = 50000;
|
|
|
sheet.SetColumnWidth(i, dataLength);
|
|
|
}
|
|
|
ICellStyle style = book.CreateCellStyle();
|