当前位置: 首页>>代码示例>>C#>>正文


C# StiReport类代码示例

本文整理汇总了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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:ReportByHouseCountersForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:PaymentReportByJn.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:PaymentReportByPackForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:ResidentVacationsReportForm.cs

示例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;
     }
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:9,代码来源:report.aspx.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:9,代码来源:CounterIndicationStatisticsReportForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:AccountServicesPersonJnBenefitsReportForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:AccountServicesSaldoReportForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:AccountsPaymentByGroupOperReportForm.cs

示例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);
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:UjfApartmentHouseInspectionActReport.cs

示例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);
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:UjfApartmentHouseInspectionActReport.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:10,代码来源:AuditLogReportForm.cs

示例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);
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:11,代码来源:UjfApartmentHouseInspectionActReport.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:11,代码来源:AktReportForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:11,代码来源:AccountGrozniy_WithoutDolgReportForm.cs


注:本文中的StiReport类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。