Page 1 of 1

dotConnectPostgreSQL problem with null value

Posted: Mon 30 Sep 2019 18:55
by ratm
hi my problem is that when PostgreSQL DB with Linq returns Values null to me it takes them as a string and on screen it writes me null while the same program with the same calls linq cn SQLServer the problem there is no osa can be?

Re: dotConnectPostgreSQL problem with null value

Posted: Fri 04 Oct 2019 10:27
by Shalex
ADO.NET level:
If there is NULL in the database column, the provider returns NULL. If it is an empty string in the database, the provider returns an empty string.

DataGridView level:
You can control the way how to represent the NULL value via DataGridViewCellStyle.NullValue.