Hi Michael
The code is a bit confusing as I'd expect something like:
rd.load(docpath)
rd.DataSource = some report source (Db conenction, dataset, etc.)
re.SetParameter(...
.
.
.
CrystalReportViewer1.ReportSource = rd
E.g.; Set the report data source before you do any setting of the parameters
Perhaps a sample app will help. See csharp_win_multirangeparam.zip and csharp_win_paramengine.zip and csharp_win_rangeparameters.zip and csharp_win_sub_daterange_param_engine.zip here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
Developer Help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
- Ludek