Ejemplo n.º 1
0
        private void Potvrda_Load(object sender, EventArgs e)
        {
            var table = EvidencijaDAL.ReadEvid();

            DataTable table2 = table.Clone();

            table2.Rows.Add(table.Rows[rowInd].ItemArray);
            table2.TableName = "ispisEvid";



            ReportDataSource datasource = new ReportDataSource("Evidata", table2);

            reportViewer1.ProcessingMode = ProcessingMode.Local;
            //reportViewer1.LocalReport.ReportEmbeddedResource = "AutoLib.PotvrdaReport.Potvrda.rdlc";
            // reportViewer1.LocalReport.ReportPath = "AutoLib.PotvrdaReport.Potvrda.rdlc";
            reportViewer1.LocalReport.DataSources.Clear();
            reportViewer1.LocalReport.DataSources.Add(datasource);

            this.reportViewer1.RefreshReport();
            this.reportViewer1.RefreshReport();
            this.reportViewer1.RefreshReport();
        }
Ejemplo n.º 2
0
 public static DataTable ispisEvid()
 {
     return(EvidencijaDAL.ReadEvid());
 }