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

i'm new to generate reports, so i refer the existing report in my project in that they store the information in string and pass that value to report. But what is my doubt is please explain the highlighted line, how to pass & what values are to pass the parameter name & value.

C#
string str="<Parameters>" +
"<StaticParam Name='Proj_Code' Value='" + Proj_Code + "' Type='Varchar' />"    +"</Parameters>

C#
Response.Redirect(objCurrentSite.WebSiteURL + "/_layouts/Reports/ViewReport.aspx?ReportPath=" + Server.UrlEncode(ReportPath) + "&RptParamXML=" + Server.UrlEncode(str));


Please be explain it ..

Thanks in Advance..
Posted

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