what if i have two dropdown lists.....which has list items with same values ?
is it harmful ? mean list item with same values of 2 different drp dwn lists ?
and what does it mean actually ? usage ?

Recommended Answers

All 4 Replies

That is OK, since you will refer to each dropdown list by a different ID. for example, one dropdown list may have an id of "dropdownlist1" and the other may have an id of "dropdownlist2". So in your code, to get the selected value of list1 it would be something like..

dropdownlist1.selectedvalue

awesome ....got it !!!

i am agree with jorge but if there is same list item in both drop down list then we should take only one drop down list we shouldnt take tow drop down list at all.. but ya if you want then you can use drop down list 1 or 2 asa well jorge says...

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.