Hi
I guess I should have been able to figure this out but I get error messages for all the methods I have tried..
I have a grid template column whose content is the product of two db fields, and when CMVPU is null, there
is an exception error related to dbNull value. What I want to happen is - where there is a null db value it is treated
as zero.
Please suggest the simplest way to accomplish this.
Thanks for help!
Clive
I guess I should have been able to figure this out but I get error messages for all the methods I have tried..
I have a grid template column whose content is the product of two db fields, and when CMVPU is null, there
is an exception error related to dbNull value. What I want to happen is - where there is a null db value it is treated
as zero.
Please suggest the simplest way to accomplish this.
Thanks for help!
Clive
<
ItemTemplate
>
<
asp:Label
ID
=
"CMVPULabel"
runat
=
"server"
Text='<%# Eval("CMVPU") * Eval("Qty") %>'
style="text-align: right"></
asp:Label
>
</
ItemTemplate
>