private void btnPrintReport_Click(object sender, EventArgs e) { var reportViewer = new ReportViewerPage(); reportViewer.PrintName = "DAILY"; reportViewer.DataTable = _dv.Table; reportViewer.ShowDialog(); }
private void btnPrintReport_Click(object sender, EventArgs e) { var reportViewer = new ReportViewerPage(); reportViewer.PrintName = "ACCOUNTSIDE"; reportViewer.DataTable = _dataTable; reportViewer.EntityName = txtEntity.Text; reportViewer.ShowDialog(); }
private void btnPrint_Click(object sender, EventArgs e) { var reportViewer = new ReportViewerPage(); reportViewer.PrintName = "PACK"; var table = dv.ToTable("tbl"); reportViewer.DataTable = table; reportViewer.ShowDialog(); }