-- 作者:菜鸟foxtable
-- 发布时间:2009/12/26 19:36:00
-- 设定全局变量为Date型,初始值空时报错!
此主题相关图片如下:qq截图未命名.png
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.ArgumentException: String was not recognized as a valid DateTime.Couldn\'t store <> in 执行时间 Column. Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider) at System.Convert.ToDateTime(String value, IFormatProvider provider) at System.String.System.IConvertible.ToDateTime(IFormatProvider provider) at System.Data.Common.DateTimeStorage.Set(Int32 record, Object value) at System.Data.DataColumn.set_Item(Int32 record, Object value) --- End of inner exception stack trace --- at System.Data.DataColumn.set_Item(Int32 record, Object value) at System.Data.DataRow.set_Item(DataColumn column, Object value) at System.Data.DataRow.set_Item(String columnName, Object value) at Foxtable.VarsCollection.AddVar(String Ol1l0O1, Type Oll0, Object O000l) at Foxtable.VarsCollection.Add(String OO01011, Type Ol0l, Object O11O1) at Foxtable.OtherFunction.AddPublicVariables() at Foxtable.frmVariables.OlO100l0O1l(Object O010OO, EventArgs O) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Foxtable Assembly Version: 2009.12.12.1 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- Foxtable.Lib Assembly Version: 2009.12.12.1 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/Foxtable.Lib.DLL ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- C1.Win.C1Ribbon.2 Assembly Version: 2.0.20092.178 Win32 Version: 2.0.20092.178 CodeBase: file:///F:/release开发版/C1.Win.C1Ribbon.2.DLL ---------------------------------------- C1.Win.C1Command.2 Assembly Version: 2.0.20092.19433 Win32 Version: 2.0.20092.19433 CodeBase: file:///F:/release开发版/C1.Win.C1Command.2.DLL ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- C1.Win.C1FlexGrid.2 Assembly Version: 2.6.20092.416 Win32 Version: 2.6.20092.416 CodeBase: file:///F:/release开发版/C1.Win.C1FlexGrid.2.DLL ---------------------------------------- System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- Foxtable.Blank Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///F:/release开发版/Catch/Foxtable.Blank.dll ---------------------------------------- Interop.ADOX Assembly Version: 2.8.0.0 Win32 Version: 2.8.0.0 CodeBase: file:///F:/release开发版/Interop.ADOX.DLL ---------------------------------------- Interop.ADODB Assembly Version: 2.8.0.0 Win32 Version: 2.8.0.0 CodeBase: file:///F:/release开发版/Interop.ADODB.DLL ---------------------------------------- CustomMarshalers Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll ---------------------------------------- Interop.MSScriptControl Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///F:/release开发版/Interop.MSScriptControl.DLL ---------------------------------------- a32e2c9c.Form Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- C1.Win.C1Input.2 Assembly Version: 2.0.20092.33234 Win32 Version: 2.0.20092.33234 CodeBase: file:///F:/release开发版/C1.Win.C1Input.2.DLL ---------------------------------------- C1.Win.C1Chart.2 Assembly Version: 2.0.20092.19168 Win32 Version: 2.0.20092.19168 CodeBase: file:///F:/release开发版/C1.Win.C1Chart.2.DLL ---------------------------------------- C1.Win.C1BarCode.2 Assembly Version: 2.0.20093.36 Win32 Version: 2.0.20093.36 CodeBase: file:///F:/release开发版/C1.Win.C1BarCode.2.DLL ---------------------------------------- a32e2c9c.Form.bd422373 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- a32e2c9c.Form.bd422373 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- a32e2c9c.Form.9dfd30b1 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- a32e2c9c.Form.9dfd30b1 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- Foxtable.Ribbon Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- a32e2c9c.Form.181f26a7 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ---------------------------------------- a32e2c9c.Form.181f26a7 Assembly Version: 0.0.0.0 Win32 Version: 2009.12.12.1 CodeBase: file:///F:/release开发版/foxtable.exe ----------------------------------------
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /> </configuration>
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
|