ReportDocument Rel = new ReportDocument(); Rel.Load(Server.MapPath("CallLetter.rpt")); Rel.SetDatabaseLogon("sa", "hex", "OSS-SERVER", "RRCCR"); Rel.SetDataSource(ds.Tables[0]); Rel.SetParameterValue("CONTROLNO", ControlNo); CrystalReportViewer1.ReportSource = Rel;
pre
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)