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