i have rdl report on separate server.which takes two parameters month(drop down) and year(drop down)and report button.
now i want to get these parametrs in my aspx page how can i get these parametrs any help
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Alok UniyalRank #8,369 · 223 reputationPosted Jul 8, 2013, 1:01 AM EDT
You can pass the parameters through query string.
protected void ReportButton_Click(object sender,EventArgs e)
{
string month=//Get value from month dropdown
string year=//Get value from year dropdown
Respond.Redirect("~/Report.aspx?month="+Month+"&year="+Year+"");
}