Check if dataRow[] is null


Hi everyone, I am still very new to UiStudio. I have an issue of checking whether the dataRow[] is empty. I would like to check if it’s null. I read through all of the other issues but none of them seem to be working for me…

It’s an if condition to check if the dataRow[] variable is null.


hello @poogy112 use array Is Nothing



you can use this as well

DataRow[ ] dtrow_arr;

(dtrow_arr is Nothing) or (dtrow_arr.length =0)



This will throw a NullReference if it’s actually Nothing. For this to work you need to use the short-circuit version of the comparison (OrElse instead of Or).