How to compare a drop down menu

P

Paul B

Hi

I have a drop down menu with "Yes" and "No" I want to be able to do a string
compare within an IF statment.

I have tried

XDocument.DOM.selectSingleNode("/my:myFields/my:Authorised").toString() ==
"Yes"

But with no luck.

can some please help
 
Top