Hi
In below code i want if Next Action Date is not null or '' & Next ActionDate <= Current Date then No Of Days should be calculated
<asp:Literal ID="ltrlDays" runat="server" Text='<%# (DateTime.Now - Convert.ToDateTime(Eval("NextActionDate"))).Duration().Days %>'></asp:Literal>
Thanks