Detecting a Null field on an NpgsqlDataReader object - Mailing list pgsql-interfaces

From Oliveiros d'Azevedo Cristina
Subject Detecting a Null field on an NpgsqlDataReader object
Date
Msg-id 1BBEE93EA22B44CF870E6F37B350FF59@marktestcr.marktest.pt
Whole thread Raw
Responses Re: Detecting a Null field on an NpgsqlDataReader object
List pgsql-interfaces
Dear All,
 
How can I detect if a certain field of a record returned by a query is NULL ?
 
I'm sure there must be a direct way of doing this, but I googled up and down, back and forth and was unable to find out.
 
For ex, in Sql Server we just compare with DbNull singleton.
 
What is the equivalent in Npgsql?
 
Thanks a million for your help
 
Best,
Oliveiros d'Azevedo Cristina

pgsql-interfaces by date:

Previous
From: Satoshi Nagayasu
Date:
Subject: Re: [DOCS] ECPG Documentation Improvement
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: Detecting a Null field on an NpgsqlDataReader object