可能是客户端IE版本不高datagrid所在页面是utf-8, 客户端浏览器默认是 "简体中文"
解决方案 »
- 如何用c#模拟鼠标移动、点击、及键盘输入
- 求指教这个很简单的bool值运算
- 网站在不同地区的连接情况原理是怎样的?c#的
- direct3D 创建device出错,是怎么回事?
- 我用WebService封装了访问oracle的服务,为什么其他机器调用这个服务的时候还说没装oracle的客户端
- 线程销毁 以及线程里的对象关闭
- C#导入csv文件把文件内容从16进制转换成汉字再导出excel表出来,有人做过或者有例子吗?
- 如何得到datagrid选中的那行的某个字段的值
- 如何异步调用webservice返回的dataset?
- Windows服务访问网络磁盘驱动的问题
- 关于ArriayList
- C#尚没有入门者请问题:如何仅仅在dataset中插入一个textBox1的值而不立即更新到后台的表中!
目标机器上的是英文版的
就有可能产生不可预知的错误。
我遇到过。
至于你说的情况还真是奇怪
请参阅此消息的结尾。************** 异常文本 **************
System.ArgumentException: 路径中具有非法字符。
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.AppDomainSetup.get_ConfigurationFile()
at System.Configuration.DefaultConfigurationSystem.get_AppConfigPath()
at System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init()
at System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigurationSystem configSystem)
at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigTable()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()
at System.Diagnostics.Switch.Initialize()
at System.Diagnostics.Switch.get_SwitchSetting()
at System.Diagnostics.TraceSwitch.get_TraceVerbose()
at System.Windows.Forms.DataGridRelationshipRow.Paint(Graphics g, Rectangle bounds, Rectangle trueRowBounds, Int32 firstVisibleColumn, Int32 numVisibleColumns, Boolean alignToRight)
at System.Windows.Forms.DataGrid.PaintRows(Graphics g, Rectangle& boundingRect)
at System.Windows.Forms.DataGrid.PaintGrid(Graphics g, Rectangle gridBounds)
at System.Windows.Forms.DataGrid.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
xxxxxx
程序集版本:1.0.1304.28166
Win32 版本:1.0.1304.28166
基本代码:file:///C:/PROGRAM%20FILES/OCE/客服系统/KEFU.EXE
----------------------------------------
System.Windows.Forms
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Data
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Drawing
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.EnterpriseServices
程序集版本:1.0.3300.0
Win32 版本:1.0.3705.0
基本代码:file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.3300.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
mscorlib.resources
程序集版本:1.0.3300.0
Win32 版本:1.0.3300.0
基本代码:file:///c:/windows/assembly/gac/mscorlib.resources/1.0.3300.0_zh-chs_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:1.0.3300.0
Win32 版本:1.0.3300.0
基本代码:file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.3300.0_zh-chs_b77a5c561934e089/system.windows.forms.resources.dll
----------------------------------------************** JIT 调试 **************
若要启用实时 (JIT) 调试,此
应用程序或计算机的配置文件 (machine.config) 的
system.windows.forms 节中必须设置 jitDebugging 值。
编译应用程序时还必须启用
调试。例如:<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>启用 JIT 调试后,任何未处理的异常
将被发送到此计算机上注册的 JIT 调试器,
而不是由此对话框处理。