I would recommend using the "Push" model instead.
Create a strong dataset.
Build the report based on the dataset or xsd schema.
populate an instance of the dataset.
Use the SetDataSource method.
Google
"Crystal Reports" push pull
for more info.
"Dan Aldean" <do*******@rogers.comwrote in message
news:ey**************@TK2MSFTNGP06.phx.gbl...
Hi,
To create a Crystal Reports I use a ReportViewer.
How can I pass parameters to the report which is based on a stored
procedure.
Please provide some code.
Thanks