i have a typed dataset, one field is allow null,(say FirstName is allow null)
when i'm retreiving data to the UI i need to check FirstName for null values
so i'm doing this as follow
say my types dataset is ds and oRow is the pointed row
with oRow
txtFirstName.Text=IIF(.IsFirstNameNull,"",.FirstName)
end With
but my problem is this IIF doesn't work propery.
if i did this using if else statements without using IIF it is working properly
pls help me, pls explain me y this IIF is not function properly,this is in my windows application and i'm using vb.net
thank you
when i'm retreiving data to the UI i need to check FirstName for null values
so i'm doing this as follow
say my types dataset is ds and oRow is the pointed row
with oRow
txtFirstName.Text=IIF(.IsFirstNameNull,"",.FirstName)
end With
but my problem is this IIF doesn't work propery.
if i did this using if else statements without using IIF it is working properly
pls help me, pls explain me y this IIF is not function properly,this is in my windows application and i'm using vb.net
thank you