Hi Team,
I am new to winform development.
I have bound the RadDropdownList with values from database with DisplayMember and ValueMember properties set properly.
I can see the items in dropdown with no problem.
But when I want to assign the value to RadDropdownList, it sets always to 0 (zero).
Please take a look at my code to bind dropdown :
And in another method, I am setting the value of dropdown :
But every time I get SelectedValue as 0 (zero).
Can you please tell me how can I set the value of the RadDropdownList?