Asp.net : how to set "If" statement with selected value from dropdown list?

Prince

New member
My code is the following but it not working.. any solution?

**************************************************************************************************************
If DropDownList.SelectedItem.Value = "Test" Then

namelbl.Visible = true

End If

**************************************************************************************************************
Nikhil T, is not working.. only single = can be use.

ps: i using .vb to code.
 
Back
Top