изменен способ сохранения в отчет (убрала комментарий просто)
This commit is contained in:
parent
2b09563d00
commit
73ff095c26
@ -21,7 +21,6 @@ namespace SushiBarView.Reports
|
|||||||
};
|
};
|
||||||
var path = Directory.GetParent(Directory.GetCurrentDirectory())?.Parent?.Parent?.ToString() + "\\ReportOrders.rdlc";
|
var path = Directory.GetParent(Directory.GetCurrentDirectory())?.Parent?.Parent?.ToString() + "\\ReportOrders.rdlc";
|
||||||
reportViewer.LocalReport.LoadReportDefinition(new FileStream(path, FileMode.Open));
|
reportViewer.LocalReport.LoadReportDefinition(new FileStream(path, FileMode.Open));
|
||||||
//reportViewer.LocalReport.LoadReportDefinition(new FileStream("ReportOrders.rdlc", FileMode.Open));
|
|
||||||
Controls.Clear();
|
Controls.Clear();
|
||||||
Controls.Add(reportViewer);
|
Controls.Add(reportViewer);
|
||||||
Controls.Add(panel);
|
Controls.Add(panel);
|
||||||
|
Loading…
Reference in New Issue
Block a user