abrar22
9 years agoFrequent Contributor
Check Property value is blank
Hi,
I want to check that property value is blank. Currently I am using attached function but its returning False for me. Any idea what is wrong with the function?
Thanks
Try comparing OleValue with an empty string:
if (Element.Text.OleValue == "")
If you consider whitespace to be blank, trim out the whitespace before comparison:
if (aqString.Trim(Element.Text.OleValue) == "")