I am inserting a date into my database, the value which comes from:
s.theDate = Convert.ToDateTime("06-13-2012");
and I get the error, "String was not recognized as a valid DateTime". How do I resolve this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…