Incorrect datetime value: '4/10/2016 5:50:48 AM' for column 'LastLogin' at row 1
string updateLastLogin = "Update mydb.user SET LastLogin='" + System.DateTime.Now + "' where Id='" + Session["UserId"].ToString() + "';";
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)