Have a look at below code(Though its in C#,use converter for VB):
<asp:gridview id="GridView1" runat="server" onrowdatabound="GridView1_RowDataBound" xmlns:asp="#unknown">
<columns>
<asp:templatefield>
<itemtemplate>
<asp:label id="lbl" runat="server" text=""></asp:label>
</itemtemplate>
</asp:templatefield>
</columns>
</asp:gridview>
The event you used is ok.
protected void lr_grid_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
}
}
For date calculations use
DateTime.Compare Method[
^]
Happy coding.. :)