fix load report error
This commit is contained in:
parent
4654330ef7
commit
aa0f00385a
1 changed files with 2 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
||||||
{
|
{
|
||||||
report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream);
|
report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream);
|
||||||
}
|
}
|
||||||
|
report.ReportParameters["ExamName"].Value = data[0].ExamName;
|
||||||
report.DataSource = data[0];
|
report.DataSource = data[0];
|
||||||
var table = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"];
|
var table = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"];
|
||||||
table.DataSource = data;
|
table.DataSource = data;
|
||||||
|
|
@ -545,7 +545,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
||||||
{
|
{
|
||||||
report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream);
|
report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream);
|
||||||
}
|
}
|
||||||
|
report.ReportParameters["ExamName"].Value = data[0].ExamName;
|
||||||
report.DataSource = data[0];
|
report.DataSource = data[0];
|
||||||
var table = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"];
|
var table = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"];
|
||||||
table.DataSource = data;
|
table.DataSource = data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue