本文整理汇总了C#中StiReport类的典型用法代码示例。如果您正苦于以下问题:C# StiReport类的具体用法?C# StiReport怎么用?C# StiReport使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StiReport类属于命名空间,在下文中一共展示了StiReport类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.Rep_HouseCounters);
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例2: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.PaymentReportByJn);
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例3: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.ReceiptTerminalReportByParameters);
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例4: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.Rep_ResidentVacations);
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例5: ChangeConnectString
private void ChangeConnectString(StiReport report)
{
//((Stimulsoft.Report.Dictionary.StiSqlDatabase)(report.Dictionary.Databases["Connection1"])).ConnectionString = ConfigurationManager.ConnectionStrings["Mms"].ConnectionString;
foreach (Stimulsoft.Report.Dictionary.StiSqlDatabase item in report.Dictionary.Databases)
{
var prefix = item.Name.Split('_')[0];
item.ConnectionString = ConfigurationManager.ConnectionStrings[prefix].ConnectionString;
}
}
示例6: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.CounterIndicationStatistics);
report.Compile();
report.RegData("ReportData", (System.Data.DataSet) ds);
report["period"] = (base.DateBeg.Date == base.DateEnd.Date) ? ("за " + base.DateBeg.Date.ToString("dd.MM.yyyy")) : ("с " + base.DateBeg.Date.ToString("dd.MM.yyyy") + " по " + base.DateEnd.Date.ToString("dd.MM.yyyy"));
return report;
}
示例7: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.Rep_AccountServicesPersonJnBenefitsNoDebtsReport);
report.EngineVersion = StiEngineVersion.EngineV2;
report.ReportCacheMode = StiReportCacheMode.Off;
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例8: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(this.rbTypeBySimple.get_Checked() ? Resources.Rep_AccountServicesSaldoSimpleReport : (this.rbTypeByOper.get_Checked() ? Resources.Rep_AccountServicesSaldoByOper : Resources.Rep_AccountServicesSaldo));
report.EngineVersion = StiEngineVersion.EngineV2;
report.ReportCacheMode = StiReportCacheMode.Off;
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例9: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
report.Load(Resources.Rep_AccountServicesPaymentByGroupOper);
report.EngineVersion = StiEngineVersion.EngineV2;
report.ReportCacheMode = StiReportCacheMode.Off;
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}
示例10: ShowInspectionActPystografMinReport
public static void ShowInspectionActPystografMinReport(System.Windows.Forms.IWin32Window owner, long inspectionId)
{
System.Data.DataSet ujfApartmentHouseInspectionActPystografMinReport = Mappers.SimpleReportMapper.GetUjfApartmentHouseInspectionActPystografMinReport(inspectionId);
ujfApartmentHouseInspectionActPystografMinReport.Tables.get_Item(0).set_TableName("InspectionInfo");
StiReport report = new StiReport();
report.Load(Resources.UjfApartmentHouseInspectionAct_PystografMin);
report.Compile();
report.RegData((System.Data.DataSet) ujfApartmentHouseInspectionActPystografMinReport);
report.Show((System.Windows.Forms.IWin32Window) owner);
}
示例11: ShowCoordinationVolumesDefectsReport
public static void ShowCoordinationVolumesDefectsReport(System.Windows.Forms.IWin32Window owner, long inspectionId)
{
System.Data.DataSet ujfCoordinationVolumesDefectsReport = Mappers.SimpleReportMapper.GetUjfCoordinationVolumesDefectsReport(inspectionId);
ujfCoordinationVolumesDefectsReport.Tables.get_Item(0).set_TableName("CoordinationDefects");
StiReport report = new StiReport();
report.Load(Resources.UJFListCoordinationVolumesDefects);
report.Compile();
report.RegData((System.Data.DataSet) ujfCoordinationVolumesDefectsReport);
report.Show((System.Windows.Forms.IWin32Window) owner);
}
示例12: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
System.Data.DataTable table = ds.Tables.get_Item(0);
StiReport report = new StiReport();
report.Load(Resources.Rep_ObjLogOper);
report.Compile();
report.RegData("obj_log_oper", (System.Data.DataTable) table);
report["period"] = (base.DateBeg.Date == base.DateEnd.Date) ? ("за " + base.DateBeg.Date.ToString("dd.MM.yyyy")) : ("с " + base.DateBeg.Date.ToString("dd.MM.yyyy") + " по " + base.DateEnd.Date.ToString("dd.MM.yyyy"));
return report;
}
示例13: ShowDefectsDelayWorkReport
public static void ShowDefectsDelayWorkReport(System.Windows.Forms.IWin32Window owner, long inspectionId)
{
System.Data.DataSet ujfApartmentHouseDefectsDelayWorkReport = Mappers.SimpleReportMapper.GetUjfApartmentHouseDefectsDelayWorkReport(inspectionId);
ujfApartmentHouseDefectsDelayWorkReport.Tables.get_Item(0).set_TableName("DefectsInfo");
ujfApartmentHouseDefectsDelayWorkReport.Tables.get_Item(1).set_TableName("HouseInfo");
StiReport report = new StiReport();
report.Load(Resources.UjfApartmentHouseInspectionDefectsDelayWorksByInspection);
report.Compile();
report.RegData((System.Data.DataSet) ujfApartmentHouseDefectsDelayWorkReport);
report.Show((System.Windows.Forms.IWin32Window) owner);
}
示例14: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
System.Data.DataTable table = ds.Tables.get_Item(0);
System.Data.DataTable table2 = ds.Tables.get_Item(1);
StiReport rep = new StiReport();
this.LoadReport(rep);
rep.Compile();
rep.RegData("Header", (System.Data.DataTable) table);
rep.RegData("Data", (System.Data.DataTable) table2);
return rep;
}
示例15: MakeReport
protected override StiReport MakeReport(System.Data.DataSet ds)
{
StiReport report = new StiReport();
AccountReportType byName = AccountReportType.GetByName("Уведомление для Грозного, без долга");
report.LoadFromString(byName.Template);
report.EngineVersion = StiEngineVersion.EngineV2;
report.ReportCacheMode = StiReportCacheMode.Off;
report.Compile();
report.RegData((System.Data.DataSet) ds);
return report;
}