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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Alok UniyalPosted Jul 8, 2013, 5:01 AM
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+"");
}