I have a variable called isManager and it is of type variant. I am trying to evaluate it in an if statement
@if (isManager = "1";....)
How can I do this? I tried converting it to a string but that didn't work. I checked the type using typename and it gave me VARIANT() as the type and the Datatype function returns 8716.
Thank you.
@if (isManager = "1";....)
How can I do this? I tried converting it to a string but that didn't work. I checked the type using typename and it gave me VARIANT() as the type and the Datatype function returns 8716.
Thank you.