i want to set visibility on or off on PendingApproval value but in database PendingApprovalfield is allow null true so I got error here is code
I got this error Conversion from type 'DBNull' to type 'Integer' is not valid.
style="margin-left:6px; margin-top:auto; display:<%# IIf(CTYPE(Eval("PendingApproval"),Integer) = 1, "block", "none")%>"