Hello,
I have the following code that works if the values are true/false. If I have a null value I get an exception.
- <ItemTemplate>
- <asp:CheckBox ID="cbApproved" Checked='<%# Convert.ToBoolean(Eval(ValApproved")) %>' runat="server"/>
- </ItemTemplate>
Any ideas how to fix that?
Thank you in advance.