答案 0 :(得分:1)
我正在使用CultureInfo.InvariantCulture:
string str = Helper.Decrypt(dr.GetString(dr.GetOrdinal("LastLoginDate")));
DateTime result;
if (!DateTime.TryParse(str, out result))
result = DateTime.Parse(str, CultureInfo.InvariantCulture, DateTimeStyles.None);