Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello EveryBody
Can I Add New Parameter Field In Crystal Report programmatically , I Mean Add Not Passing Values .?.?.?.?.?. .
Posted

1 solution

C#
CRNewSalesBillDetails5 objcr = new CRNewSalesBillDetails5();
crystalReportViewer1.ReportSource = objcr;
string CompanyName =// query // select Comp_Name from company;
objcr.ParameterFields["Company"].CurrentValues.AddValue(CompanyName);
 
Share this answer
 
v2

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