Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to pass the textBox values that resides in one form to crystal report without using any databases. How can i send the values to the crystal report? I tried this code but no use.

C#
rptOrange RptForm = new rptOrange();
TextObject T = (TextObject)RptForm.ReportDefinition.Sections["Section1"].ReportObjects["txtAppName"];
T.Text = txtAppName.Text;
Posted

 
Share this answer
 
Comments
Arthesh G 24-Jan-12 11:01am    
tried both but no use
passed through global variable by creating a new class. and its worked.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900