码迷,mamicode.com
首页 > 其他好文 > 详细

李伟龙老师解决的两个问题

时间:2017-01-09 00:32:29      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:index   ram   window   类型   sid   gsm   call   bsh   dev   

 系统格式另存为会报错:
技术分享
异常信息(异常类型:System.ArgumentOutOfRangeException)
异常提示:索引超出范围,请联系管理员处理
异常信息:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
导致错误的应用程序或对象的名称:mscorlib
引发当前异常的方法:System.Object System.Collections.IList.get_Item(Int32)
异常相关帮助:
堆栈信息:
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at DevExpress.XtraEditors.Controls.ComboBoxItemCollection.get_Item(Int32 index)
at Genersoft.GSIDP.JZPubQry_Com.frmDevBBShow.bindQryStyle()
at Genersoft.GSIDP.JZPubQry_Com.frmDevBBShow.getDataTitle()
at Genersoft.GSIDP.JZPubQry_Com.frmDevBBShow.btntitleSave_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.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)
内部异常:{}
技术分享

 

 


第二个:将另存为的格式删掉后,系统格式后跟了一个“111111”的格式,而且这个格式删除不掉

技术分享

 

两个问题通过一个操作解决了

select * from LSZBGS

WHERE F_GSMC=‘111111‘(删不掉的系统格式)

然后将该条记录,备份后,删除

两个问题都解决了!

 


技术分享

李伟龙老师解决的两个问题

标签:index   ram   window   类型   sid   gsm   call   bsh   dev   

原文地址:http://www.cnblogs.com/lsjava/p/6263070.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!