Click here to Skip to main content
15,909,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am fetching report on buton click. when i click on print and export button then page gets reloaded and gtting error missing parameter values..
Posted
Comments
Maciej Los 4-Apr-13 8:23am    
No code, no solution ;(
Member 9579525 5-Apr-13 3:33am    
I am binding reports on button click of web page.

protected void btnATreport_Click(object sender, EventArgs e)
{
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(Server.MapPath("CrpATReport.rpt").Replace("Content Pages\\CrpATReport.rpt", "Reports\\CrpATReport.rpt"));
reportdocument.DataSourceConnections[0].SetLogon("sa", "******");

getreport();//in this method fetching data conditionwise
}

getting error missing parameter vlaues..

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