2
Reply

Dropdownlist value can be same or not?

deep gautam

deep gautam

Jun 17, 2011
3.8k
0

    we can not provide duplicate value in dropdownlist, if we provide duplicate value the first one will be selected. becoz the value you are trying to search , will be avaliable for you from borwser not from database . That' why it will get the top one value for us

    I have one dropdownlist,which contains 3 text with value.

    text1 is:RAM and value is:1

    Text2is:Shyam  and value is:2

    Text3is:Praksh  and value is:1

    If i am selecting Praksh and trying then by deafult RAM is getting selected.

    Why???

    is it neccessary to diffrent value should be there for each item??

    Happy Programming:

    Deep Gautam

     

    deep gautam
    June 17, 2011
    0