How to make CR not asking you to enter the parameters.
I've noticed that if you passing parameters at Form.Load event of the form, containing your Crystal Report Viewer, then CR does not displaying that dialog. Should be like this:
//C# code
private void Form1_Load(object sender, EventArgs e)
{
YourReport1.SetParameterValue("ParameterName1", object1);
YourReport1.SetParameterValue("ParameterName2", object2);
}
Later you can re-assing that parameters the same way, but I've got no parameter dialog displayed.
|