我用了FarPoint控件读取我xls模板里的内容.然后生成新的xls数据在页面上显示出来.
显示出来的数据需要可以编辑.
但是我现在在网页编辑之后确无法 将编辑后的数据保存到xls文件中.
我保存的代码是这样的:FarPoint.Web.Spread.FpSpread fpSpread = this.FpSpread1;
if (fpSpread.SaveExcel(Server.MapPath("../R_UpLoad/CreateReport/" + strReport)) == true)
{
ScriptManager.RegisterStartupScript(this.btnSave, this.GetType(), "AlertSuccess", "alert('保存报表成功!')", true);
}
显示出来的数据需要可以编辑.
但是我现在在网页编辑之后确无法 将编辑后的数据保存到xls文件中.
我保存的代码是这样的:FarPoint.Web.Spread.FpSpread fpSpread = this.FpSpread1;
if (fpSpread.SaveExcel(Server.MapPath("../R_UpLoad/CreateReport/" + strReport)) == true)
{
ScriptManager.RegisterStartupScript(this.btnSave, this.GetType(), "AlertSuccess", "alert('保存报表成功!')", true);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货