By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,872 Members | 2,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,872 IT Pros & Developers. It's quick & easy.

how to copy dropdownlist selected items to another dropdownlist

P: 1
how to copy dropdownlist selected items to another dropdownlist in Asp.net using C# codings
Apr 26 '07 #1
Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
how to copy dropdownlist selected items to another dropdownlist in Asp.net using C# codings
Find the selected item in the first dropDownList.
Then set the second dropDownList's selected value to the one you've retrieved

Something like:

secondDDL.Items.FindByText(firstDDL.SelectedValue) .Selected=True

-Frinny
Apr 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.