ReportDocument oDocument = new ReportDocument(); oDocument.Load(Application.StartupPath + "//ReportPath//ReportName.rpt"); oDocument.SetDataSource(new DataSet()); // Added report data as dataset. crviewer.ReportSource = oDocument; crviewer.PrintReport();
crystalreport1 objReport1=new crystalreport1(); crystalreportviewer1.reportsource=objReport1;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)