13 3月 文字列からDateTime変換時のエラー処理 ※ DateTime.TryParse関数を使う DateTime dt;// string date = “”; if (DateTime.TryParse(日付.Text, out dt)) […]