Click here to Skip to main content
15,911,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
private void FormReportAnsesnsi_Load(object sender, EventArgs e)
{
CrystalReport1.SetParameterValue()
}
Posted
Comments
houtaro 8-Jan-14 23:13pm    
when i call setparametervalue is not showing

crystalreport only show

EnableEventLog
Equals
ReferenceEquals

It doesn't have empty constructor. you have to pass some parameter values
check this link : passing-parameters-to-crystal-reports-in-c-sharp[^]
 
Share this answer
 
C#
private void crystalReportViewer1_Load(object sender, System.EventArgs e)
{
AuctionPurchase auctReport = new AuctionPurchase();
auctReport.SetParameterValue("SaleIDParam1", "35");
//auctReport.SetParameterValue("SaleIDParam2", "46");
crystalReportViewer1.ReportSource = auctReport;
}


Give it a try.
 
Share this answer
 
what a requirement to call setparametervalue
 
Share this answer
 
Comments
Ron Beyer 8-Jan-14 23:10pm    
Use the "Have a question or comment" button below the post to ask a question instead of posting it as a solution.

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