该字符串未被识别为有效的 DateTime。
453: {行 454: PrepareCommand(cmd, connection, null, SQLString, cmdParms);
行 455: int rows = cmd.ExecuteNonQuery(); 显示出错在这里
行 456: cmd.Parameters.Clear();
行 457: return rows;
}
xiaojin.Member MenmberDal = new xiaojin.Member();
MenmberDal.ID = Convert.ToInt32(BasePage.LoginUserID);
MenmberDal.Birthday = Convert.ToDateTime(tbBirthDay.Text);问题产生在这里
MenmberDal.QQ = ChenYing.chenying.CheckStr(tbQQ.Text.Trim());
MenmberDal.Email = ChenYing.chenying.CheckStr(tbEmail.Text.Trim());
MenmberDal.HeadPicUrl = path;
MenmberDal.Sex = ltr_sex.Text.ToString();
MenmberDal.Tel = ChenYing.chenying.CheckStr(tbTel.Text.Trim());
MenmberDal.TrueName = ChenYing.chenying.CheckStr(tbTrueName.Text.Trim());