Beispiel #1
0
 public void DbExecuteReport(string FileName, string OutputFileName)
 {
     lib.Entity.DbBase db = lib.Entity.CreateConnection.Create(getSwrDbType(DbCurrent.dbType), DbCurrent.ConnectionString);
     GenerateReport.Prepare(db, LastTable, ReportFile, LastSqlQuery);
     GenerateReport.ExecuteFile(FileName, OutputFileName);
 }
Beispiel #2
0
 public void DbGenerateReport(string ReportTitle, bool StyleDetail, int ReportStyleIndex, string[] Fields, string[] Counters)
 {
     lib.Entity.DbBase db = lib.Entity.CreateConnection.Create(getSwrDbType(DbCurrent.dbType), DbCurrent.ConnectionString);
     GenerateReport.Prepare(db, LastTable, ReportFile, LastSqlQuery);
     GenerateReport.Execute(ReportTitle, StyleDetail, ReportStyleIndex, Fields, Counters);
 }