i have a dropdown in one page i want the selected value of drop down in other page as a label
lblBranchName.Text=Request.QueryString["cmbDatabase.SelectedItem"];

cmbdatabase is my dropdown and lblbranch is my label in second page how can i do this pls any 1 tell

Recommended Answers

All 2 Replies

Please read the rules before posting again, in particular the 'keep it organized' one - subject titles such as 'help urgent' are not allowed. If you hit 10 infraction points your account gets an automatic ban, so it is worth obeying the rules if you want to continue to benefit from DaniWeb help.

i have a dropdown in one page i want the selected value of drop down in other page as a label
lblBranchName.Text=Request.QueryString["cmbDatabase.SelectedItem"];

cmbdatabase is my dropdown and lblbranch is my label in second page how can i do this pls any 1 tell

Use Session object.

you can use Session for ease...

if you are redirecting to next page then querystring is also an option.

hope that helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.