Two problems that Li Weirong teacher solves

Source: Internet
Author: User

The system format is saved as an error:

Exception information (Exception type: system.argumentoutofrangeexception)
Exception Hint: The index is out of range, please contact the administrator to handle
Exception information: Index is out of range. Must is non-negative and less than the size of the collection.
Parameter Name:index
The name of the application or object that caused the error: mscorlib
Method that throws the current exception: System.Object System.Collections.IList.get_Item (Int32)
Exception-related help:
Stack information:
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)
Inner exception: {}


Second: After the Save as format is deleted, the system format is followed by a "111111" format, and this format is not removed

Two problems solved by one operation

SELECT * FROM Lszbgs

WHERE f_gsmc= ' 111111 ' (Deleted system format)

The record is then deleted after the backup

Two problems are solved!


Two problems that Li Weirong teacher solves

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.