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