Page 1 of 1

How can i verify if is null?

Posted: Fri Sep 17, 2010 9:59 am
by Dudi_FC
How can i verify if is null?

Something like that:

IF relSolicitacaoHistorico.SolicitacaoHistoricoLotacionogramaDestinoSequencial is null then
e.value "Não"
Else
e.value "Sim"
End If

:grinder:

How can i verify if is null?

Posted: Sun Sep 19, 2010 8:39 am
by Alex K.
Hello,

You can use the following expression:

Code: Select all

IF (relSolicitacaoHistorico["SolicitacaoHistoricoLotacionogramaDestinoSequencial"] == DBNull.Value)
e.value "Não"
Else
e.value "Sim"
End If
Thank you.