View Single Post
  #2 (permalink)  
Old October 14th, 2004, 04:02 AM
r_ganesh76 r_ganesh76 is offline
Friend of Wrox
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76

you can create a parameter in your report and set the value of this parameter through code using the SetParameterValue method of the ReportDocument Class

   ReportDocument cr = new ReportDocument();
   cr.SetParameterValue("StartDate", strMyParmValue);
   CrystalReportViewer.ReportSource = cr;