FarPoint.Win.Spread 导出EXCEL无列头
现象:
FpSpread.ActiveSheet.AutoGenerateColumns = true;
//导出xls,有列头
FpSpread.ActiveSheet.SaveExcel(dlg.FileName, ExcelSaveFlags.SaveCustomColumnHeaders);
//导出xlsx,无列头
FpSpread.ActiveSheet.SaveExcel(dlg.FileName, ExcelSaveFlags.SaveCustomColumnHeaders | ExcelSaveFlags.UseOOXMLFormat);
问题:
AutoGenerateColumns = true,怎样导出xlsx有列头?
正常来说你这样设置导出也应该是又列头的,请上传一个demo来重现问题,我帮你看一下原因
页:
[1]