How to Bind the data in crystal Reports

Bind method For crystal report


This utility method to Bind the reports..........


        public void BindReport(CrystalReportViewer repViewer, DataSet ds, ReportClass reportName)
        {



            reportName.SetDataSource(ds.Tables[0]);

            repViewer.ReportSource = reportName;



        }

0 comments:

Post a Comment