[Solved] passing dropdown listitem value to another page [closed]


Firstly my suggestion would be to pass the value of the listbox rather than the text, values are often simpler and don’t have things like punctuation/spaces.

Your link to the second page is correct, although make sure that you post back so the link is regenerated after the user has selected a new option in the checkbox. I assume you’d want to use the value of the dropdown

lnkmyCandidates.NavigateUrl = string.Concat("~/Employer.aspx?value=", ddlStatus.SlectedValue);

The code to receive the value from the querystring would be

string suppliedValue = this.Request.QueryString["value"];

2

solved passing dropdown listitem value to another page [closed]