Exemplo n.º 1
0
 /// <summary>
 /// Show the local path report
 /// </summary>
 /// <param name="reportBindingSourceCollection">The report binding source collection.</param>
 /// <param name="reportPath">The report full path.</param>
 /// <param name="formTitle">The title for the report.</param>
 protected void ShowReport(Nequeo.Model.DataSource.BindingSourceData[] reportBindingSourceCollection,
                           string reportPath, string formTitle)
 {
     // Display the report
     Viewer.ReportViewer viewer = new Viewer.ReportViewer(
         reportBindingSourceCollection,
         reportPath,
         formTitle);
     viewer.Show();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Show the embedded report
 /// </summary>
 /// <param name="reportBindingSourceCollection">The report binding source collection.</param>
 /// <param name="embeddedReport">The embedded report namespace.</param>
 /// <param name="formTitle">The title for the report.</param>
 protected void ShowEmbedded(Nequeo.Model.DataSource.BindingSourceData[] reportBindingSourceCollection,
                             string embeddedReport, string formTitle)
 {
     // Display the report
     Viewer.ReportViewer viewer = new Viewer.ReportViewer(
         reportBindingSourceCollection,
         embeddedReport,
         formTitle);
     viewer.Show();
 }