字符串转为日期类型

string dtString="2008-08-19";DateTime dt=Convert.ToDateTime(dtString);
原文地址:https://www.cnblogs.com/maijin/p/2819550.html