回复 1楼taxsoft的帖子
- // Excel2003
- fpSpread1.SaveExcel("test.xls");
- // Excel2007
- fpSpread1.SaveExcel("test.xlsx",FarPoint.Excel.ExcelSaveFlags.UseOOXMLFormat);
- // 导入Txt 文本
- fpSpread1.ActiveSheet.LoadTextFile("c:\\test.txt", FarPoint.Win.Spread.TextFileFlags.Unformatted, FarPoint.Win.Spread.Model.IncludeHeaders.None, "\n", ",", "");
复制代码 |