Exception:该字符串未被识别为有效的 DateTime。有一个未知单词(从索引 0 处开始)。不能在 时间 列中存储 <YYYY-MM-DD>。所需类型是 DateTime。该字符串未被识别为有效的 DateTime。有一个未知单词(从索引 0 处开始)。

报错信息

ArgumentException
   在 System.Data.DataColumn.set_Item(Int32 record, Object value)
   在 System.Data.DataRow.set_Item(DataColumn column, Object value)
   在 Quicker.Modules.Tables.TableRecordEditWindow..ctor(RecordEditMode mode, DataTable table, String title, TableDef tableDefDef, Double titleColumnWidth, DataRow row)
   在 Quicker.Modules.Tables.TableManageWindow.<BtnAdd_Click>d__14.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

FormatException
该字符串未被识别为有效的 DateTime。有一个未知单词(从索引 0 处开始)。
   在 System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   在 System.Convert.ToDateTime(String value, IFormatProvider provider)
   在 System.Data.Common.DateTimeStorage.Set(Int32 record, Object value)
   在 System.Data.DataColumn.set_Item(Int32 record, Object value) 

解决方法

暂无解决方案。

相关信息
0 查看
2022-11-22 18:46
Quicker版本
版本 反馈次数