This is a migrated thread and some comments may be shown as answers.

[Solved] DBNull on fields

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
quentinjs
Top achievements
Rank 1
quentinjs asked on 12 Sep 2010, 08:13 PM
I have a tables that contain fields that may contain DBNull entries.  How can I get the grid to not blow up on these? I'd be happy if it showed these as blank fields or even "(dbnull)".

2 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 13 Sep 2010, 01:12 PM
Hi,

I am using grid in the same way and in my case everything works as expected. When the value is null, it is rendered as a blank value.
Maybe the problem is in your implementation.

Regards,
Peter
0
quentinjs
Top achievements
Rank 1
answered on 13 Sep 2010, 03:48 PM
It blows up in the view.  I am providing a strongly typed DataTable to the grid, and that is all that is in that view.
Tags
Grid
Asked by
quentinjs
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
quentinjs
Top achievements
Rank 1
Share this question
or