コード例 #1
0
        private void btnPrintReport_Click(object sender, EventArgs e)
        {
            var reportViewer = new ReportViewerPage();

            reportViewer.PrintName = "DAILY";
            reportViewer.DataTable = _dv.Table;

            reportViewer.ShowDialog();
        }
コード例 #2
0
        private void btnPrintReport_Click(object sender, EventArgs e)
        {
            var reportViewer = new ReportViewerPage();

            reportViewer.PrintName  = "ACCOUNTSIDE";
            reportViewer.DataTable  = _dataTable;
            reportViewer.EntityName = txtEntity.Text;

            reportViewer.ShowDialog();
        }
コード例 #3
0
        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();
        }