"Library used incorrectly\r\nNo transaction is active on this connection

未处理 System.Data.SQLite.SQLiteException Message="Library used incorrectly\r\nNo transaction is active on this connection" StackTrace: 位于 System.Data.SQLite.SQLiteTransaction.IsValid(Boolean throwError) 位于 System.Data.SQLite.SQLiteTransaction.Rollback() 位于 ErkeKDT.SqliteHelper.ExecuteScalar(CommandType cmdType, ConnectionType type, String cmdText, SQLiteParameter[] cmdParms) 位于 ErkeKDT.SqliteHelper.ExecutePager(DataTable result, Int32& recordCount, Int32 pageIndex, Int32 pageSize, CommandType cmdType, ConnectionType type, String cmdText, String countText, SQLiteParameter[] cmdParms) 位于 ErkeKDT.FrmLastestOrderList.GetData(Int32 PageIndex) 位于 ErkeKDT.FrmLastestOrderList.cbProdDesc_SelectedIndexChanged(Object sender, EventArgs e) 位于 System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) 位于 System.Windows.Forms.ComboBox.WnProc(WM wm, Int32 wParam, Int32 lParam) 位于 System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam) 位于 Microsoft.AGL.Forms.CTL.ComboBoxSetSelIndex(IntPtr hwnThis, Int32 iSel) 位于 System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) 位于 ErkeKDT.FrmLastestOrderList.GetProdDesc() 位于 ErkeKDT.FrmLastestOrderList.FrmSummary_Load(Object sender, EventArgs e) 位于 System.Windows.Forms.Form.OnLoad(EventArgs e) 位于 System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis) 位于 System.Windows.Forms.Control.set_Visible(Boolean value) 位于 System.Windows.Forms.Form.ShowDialog() 位于 ErkeKDT.FrmMain.btnLastOrder_Click(Object sender, EventArgs e) 位于 System.Windows.Forms.Control.OnClick(EventArgs e) 位于 LenxControls.AlphaImageButton.Parent_MouseUp(Object sender, MouseEventArgs e) 位于 System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e) 位于 System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam) 位于 System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam) 位于 Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain) 位于 System.Windows.Forms.Application.Run(Form fm) 位于 ErkeKDT.Program.Main()

你可能感兴趣的:(transaction)