i have a typed dataset, one field is allow null,(say FirstName is allow null)
when im retreiving data to the UI i need to check FirstName for null values
so im 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 doesnt 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 im using vb.net
thank you
when im retreiving data to the UI i need to check FirstName for null values
so im 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 doesnt 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 im using vb.net
thank you