关于C#.NET + SQL Server2000 字符串过长的问题
来源:互联网 发布:在手机淘宝买东西流程 编辑:程序博客网 时间:2024/05/16 14:45
- 未处理 System.Data.SqlClient.SqlException
- Message="将截断字符串或二进制数据。/r/n语句已终止。"
- Source=".Net SqlClient Data Provider"
- ErrorCode=-2146232060
- Class=16
- LineNumber=1
- Number=8152
- Procedure=""
- Server="(local)"
- State=9
- StackTrace:
- 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
- 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
- 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
- 在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
- 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
- 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
- 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
- 在 CRM.BaseClass.BaseOperate.getcom(String M_str_sqlstr) 位置 D:/My Documents/教材资源/c#/mingrisoft/企业客户资源管理系统/CRM/CRM/BaseClass/BaseOperate.cs:行号 34
- 在 CRM.PInfoManage.frmEInfoManage.tsbtnSave_Click(Object sender, EventArgs e) 位置 D:/My Documents/教材资源/c#/mingrisoft/企业客户资源管理系统/CRM/CRM/PInfoManage/frmEInfoManage.cs:行号 59
- 在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
- 在 System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
- 在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
- 在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
- 在 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
- 在 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
- 在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
- 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
- 在 System.Windows.Forms.Control.WndProc(Message& m)
- 在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
- 在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
- 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
- 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
- 在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- 在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
- 在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
- 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
- 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
- 在 System.Windows.Forms.Application.Run(Form mainForm)
- 在 CRM.Program.Main() 位置 D:/My Documents/教材资源/c#/mingrisoft/企业客户资源管理系统/CRM/CRM/Program.cs:行号 17
- 在 System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
- 在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
- 在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
- 在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
- 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- 在 System.Threading.ThreadHelper.ThreadStart()
- ======================
- > CRM.exe!CRM.BaseClass.BaseOperate.getcom(string M_str_sqlstr = "update tb_Employee set EName='周*朋',ESex='男',EBirthday='1985年12月22日 星期日',EWDate='2006年12月22日 星期五',EDiploma='本科',EDepartment='.NET技术部门',EPosition='普通员工',EType='普通员工' where EID='YG1000001'") 行23 C#
-------------------------
只要把数据库的字符类型的容量设大点就可以了。
- 关于C#.NET + SQL Server2000 字符串过长的问题
- (c#)连接sql server2000数据库的字符串汇总
- 关于重装系统后后,SQL Server2000数据库的恢复问题
- 关于重装系统后后,SQL Server2000数据库的恢复问题
- 关于SQL SERVER2000 的1068 与 1069 问题
- 关于SQL Server2000防火墙端口问题
- 安装SQL Server2000出现问题的解决办法
- sql server2000在win2003下的问题
- WebLogic连接SQL-Server2000的“版本问题”
- Sql Server2000版本差异产生的问题
- Ms SQL server2000 数据库 同步的问题
- Sql Server2000转 access出现的问题
- 用c#.net+sql server2000,开发的中华图书发行网(http://www.pub100.com)
- 修复Gridview中字符串过长的问题
- base64加密字符串过长的问题
- Mysql SQL语句过长引起的问题
- Asp.net连接SQL Server2000数据库例程(C#)
- C#.net 用ODBC远程连接SQL Server2000---成功!
- .net 中文传参
- 超音代理琴行 一览表
- 在线网上书店(JSP+JDBC+SQL Server2000)
- 从程序员的优秀品质开始(转http://news.csdn.net/n/20081017/120020.html)
- JAVA与JavaMail邮件发送
- 关于C#.NET + SQL Server2000 字符串过长的问题
- vector的访问的探讨
- GetScrollInfo
- 客户管理系统的数验证(OperateAndValidate.cs)
- VC界面库
- oracle的jdbc连接方式:oci和thin
- Come2play -- 游戏社会化网络平台
- 当运行ASP时显示无法打开登录网站中请求的数据库。登录失败。怎么解决,哪位高手帮帮我呀.非常感谢!!
- SetScrollInfo