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); }
protected virtual DataSet GetReportDataSource(TempletPrint templetPrint) { if (!string.IsNullOrEmpty(templetPrint.Sql)) { return templetPrint.GetReportDataSource(true, this.DataFormConntroller.SqlParams); } return this.dataFormController.DataSource; }
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); }