hello friends,
i have very big problem.. i have one form which have some values from Database.. i want to take some values in crystal Report.... from other forms... so is it possible or not... if yes then let me know.... please its too urgent....
thanks in Advance
How can get values from other forms in Crystal Report using C#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Hirendra SisodiyaRank #258 · 9.8K reputationPosted Mar 17, 2010, 12:31 AM EDT
you can add parameters in crystal reports (through parameter Fields in field explorer of crystal reports)
suppose you add one parameter 'Title'(you can Use this field in your crystal report)
For set the value of this parameter from window form use this code :
rpt.SetParameterValue("Title","Test");
thanks