How can i verify if is null?

Stimulsoft Reports.NET discussion
Post Reply
Dudi_FC
Posts: 4
Joined: Tue Jun 29, 2010 2:11 pm
Location: Brasil

How can i verify if is null?

Post 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:
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How can i verify if is null?

Post 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.
Post Reply