回复 1楼jeremylhj的帖子
导出之前需要做代码中设置:
- this.FpSpread1.Sheets[0].PrintInfo.ShowRowHeader = FarPoint.Web.Spread.PrintHeader.Hide;
- this.FpSpread1.Sheets[0].PrintInfo.ShowColumnHeader = FarPoint.Web.Spread.PrintHeader.Hide;
- this.FpSpread1.SaveExcel(this.Server.MapPath("test1.xls"), FarPoint.Web.Spread.Model.IncludeHeaders.None);
复制代码 |