using Matt util code
(bit edited for Unicode text)
public class GridViewExportUtil {
Question: How to make the downloaded file editable (not only for reading)
And ... XLS does not open in Unicode format. When I change the format to UTF8, I do not see Russian words: S
Second question: how to make Unicode for .xls
Third question: how to save table rows?
Thanks.
4 - how to create a table in an NPOI sheet
int i =0; if (gv.HeaderRow != null) { GridViewExportUtil.PrepareControlForExport(gv.HeaderRow); sheet1.CreateRow(1).CreateCell(i).SetCellValue(gv.HeaderRow.ToString());
like this?
Cynede
source share