Beispiel #1
0
 public void Prepare(lib.Entity.DbBase db, DataTable tb, string repFile, string LastSqlQuery)
 {
     this.db           = db;
     this.Table        = tb;
     this.ReportFile   = repFile;
     this.LastSqlQuery = LastSqlQuery;
 }
Beispiel #2
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 #3
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);
 }