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

DBNULL to zero

1 Answer 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Veteran
Morten asked on 29 Aug 2008, 10:47 PM
Is there an easy way, other than querying the data in the itemdatabound, to have DBNULL converted to zero?

What I'm looking for is a boolean "ConvertDbNullToZero" property on the GridBoundColumn.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 01 Sep 2008, 01:19 PM
Hello,

Presently, there is no such property, which would allow you to automatically handle this functionality.
This behavior is more related to the underlying datasource. To see more information along the lines of a similar matter, please refer to the following post.
I hope this helps.

Kind regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Morten
Top achievements
Rank 1
Veteran
Answers by
Yavor
Telerik team
Share this question
or