if ((Convert.ToDateTime(dr[0].ToString()) <= Convert.ToDateTime(DateTime.Now.ToShortDateString()))) { Response.Redirect("status.aspx"); } else { Response.Redirect("login.aspx"); }
if ((Convert.ToDateTime(dr[0].ToString()).ToShortDateString() <= Convert.ToDateTime(DateTime.Now.ToShortDateString()))) { Response.Redirect("status.aspx"); } else { Response.Redirect("login.aspx"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)