Wednesday 12 June 2013

Add / Change Rdlc at Runtime


Add / Change Rdlc at Runtime

            reportViewer1.LocalReport.EnableExternalImages = true;        
            reportViewer1.LocalReport.ReportEmbeddedResource = "ChequePrint.Report.Report1.rdlc";
            this.DataTable1TableAdapter.Fill(this.ChecqueDetail.DataTable1);
            this.reportViewer1.RefreshReport();


As you'll see in
reportViewer1.LocalReport.ReportEmbeddedResource = "ChequePrint.Report.Report1.rdlc";

ChequePrint.Report.Report1.rdlc is just a text of rdlc file path,and i got it from,







on report viewer click on top right side small button (step 1) and view the report list f




Print Only Grid View in ASP.net

ASP.net How to Print Only GridView < div id ="gridviewDiv" >   < asp:GridView ID ="gridViewToPri...