private void BuildStoreBmPage(SheetView sheet, ClassA bmSubInfo)
{
sheet.Columns.CellType = new GeneralCellType();
}
//CellType类型为 DoubleCellType
GeneralCellType 是控件引用类
在页面填写完数据构建表格完成后,下载导出
//Farpoint下载导出Excel
public void FpDownExcel(FpSpread fpSpread, string strFileName)
{
//FpSpread 是控件引用类
fpSpread.SaveExcelToResponse(ActionContext.Instance.GetBroswer == "Firefox" ? strFileName : HttpUtility.UrlEncode(strFileName), ExcelSaveFlags.SaveAsViewed | ExcelSaveFlags.UseOOXMLFormat);
} |