<asp:GridView runat="server" ID="gridMain" AutoGenerateColumns="False">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div style='<%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem ,"Schedule_Date")) >= DateTime.Now ? "background-color:green" : "background-color:red" %>'>
<%#Eval("Schedule_Date") %>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="EmployeeName" HeaderText="Name" />
</Columns>
</asp:GridView>