By ParseExact
var date = System.DateTime.ParseExact(StartDate, "MM/dd/yyyy",null);
Thursday, September 27, 2012
How to check if user is logged in ASP.NET MVC
if (!Request.IsAuthenticated)
{
return RedirectToAction("LogOn","Account");
}
{
return RedirectToAction("LogOn","Account");
}
Subscribe to:
Posts (Atom)