string strsql = "update t_user set password='" + user.Password + ",name='" + user.Name + ",major='" + user.Major + ",sex='" + user.Sex + ",club='" + user.Club + ",mobile='" + user.Mobile + ",maill='" + user.Maill + ",score='" + user.Score + ",state='" + user.State + " where id='" + user.Id + "";
看着没有问题,建议把错误信息贴出来