Crystal Reports
How to pass Parameters to Crystal Report Viewer using C# Windows Forms
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vilas GitePosted Sep 18, 2011, 10:42 AM
Hi Ravindranath..
Refer:
http://csharpdotnetfreak.blogspot.com/2009/07/crystal-reports-in-winforms-parameter.html
http://www.c-sharpcorner.com/UploadFile/mahesh/paramInCR11012006132839PM/paramInCR.aspx
http://www.c-sharpcorner.com/1/61/
Thanks!
----------------------------------------------------------------------
If this reply helps your post…then check "This is correct answer"
Prabhu RajaPosted Sep 16, 2011, 1:28 PM
Try this,
//Load you Crystal Report Source
//Pass Parameter to Your Crystal Report
tickettranvalue.Value = this.txtName.Text.Trim();
//You can Repeat Above Statements to pass more then one parameter.
//But Increment Index of repDoc.ParameterFields[]
-------------------------------------------------------
If this post helps you, then mark as "Correct Answer"
Thank You