How to copy items from one DropDownList control to another DropDownList control.

 Posted by Raja on 5/11/2008 | Category: ASP.NET Interview questions | Views: 12274

Write following coder

foreach (ListItem item in drop1.Items)

Where drop1 is the id of first DropDownList and drop2 is the id of second DropDownList control.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response