本文整理汇总了C#中StiReport.Save方法的典型用法代码示例。如果您正苦于以下问题:C# StiReport.Save方法的具体用法?C# StiReport.Save怎么用?C# StiReport.Save使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类StiReport
的用法示例。
在下文中一共展示了StiReport.Save方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: StiWebDesigner1_SaveReport
protected void StiWebDesigner1_SaveReport(object sender, Stimulsoft.Report.Web.StiWebDesigner.StiSaveReportEventArgs e)
{
try
{
if (Request.Params["module"] != null)
{
reportID = int.Parse(ObjectUtils.getReportIdByModuleId(int.Parse(Request.Params["module"])));
type = "reportID";
}
else
{
if (Request.Params["reportID"] != null)
{
reportCode = Request.Params["reportID"];
type = "reportID";
}
if (Request.Params["reportCode"] != null)
{
reportCode = Request.Params["reportCode"];
type = "reportCode";
}
}
string id = Request.Params["id"];
int page = Convert.ToInt32(Request.Params["page"].ToString());
int typePrint = Convert.ToInt32(Request.Params["type"].ToString());
DataTable dt = SqlHelper.ExecuteDataset(DataServices.ConnectString, "SY_report_info_getByID", type, reportID, reportCode).Tables[0];
URL = dt.Rows[0]["reportURL"].ToString();
report = new StiReport();
report = e.Report;
report.Save(Server.MapPath(URL));
}
catch (Exception)
{ }
}
示例2: StiWebDesigner1_SaveReport
protected void StiWebDesigner1_SaveReport(object sender, Stimulsoft.Report.Web.StiWebDesigner.StiSaveReportEventArgs e)
{
tmp = new StiReport();
tmp = e.Report;
tmp.Save(Server.MapPath(@"\ReportSources\SM\BaoCaoTheKhoGiaVon.mrt"));
}
示例3: StiWebDesigner1_SaveReport
protected void StiWebDesigner1_SaveReport(object sender, Stimulsoft.Report.Web.StiWebDesigner.StiSaveReportEventArgs e)
{
report = new StiReport();
report = e.Report;
report.Save(Server.MapPath(URL));
}