Пример #1
0
 protected virtual DataSet GetReportDataSource(TempletPrint templetPrint)
 {
     Dictionary<string, string> vals = new Dictionary<string, string>();
     vals.Add("{ProjectId}", this.project_id);
     return templetPrint.GetReportDataSource(false, vals);
 }
Пример #2
0
 protected virtual DataSet GetReportDataSource(TempletPrint templetPrint)
 {
     if (!string.IsNullOrEmpty(templetPrint.Sql))
     {
         return templetPrint.GetReportDataSource(true, this.DataFormConntroller.SqlParams);
     }
     return this.dataFormController.DataSource;
 }
Пример #3
0
 protected virtual DataSet GetReportDataSource(TempletPrint templetPrint, string projectId)
 {
     Dictionary<string, string> vals = new Dictionary<string, string>();
     vals.Add("{ProjectId}", projectId);
     return templetPrint.GetReportDataSource(true, vals);
 }