Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ibindinglist
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Ibindinglist
Miscellaneous
Thread ID:
01244623
Message ID:
01244623
Views:
194
Hi All!

I got the following error every time I exist my form. I have a combobox binded to a binding control that have the Sort property set to a column. Also have a grid that will filter the view in response of my selection of the combobox. I remove the filter if the user select 'all' in the combobox. Can somebody read this error and give me some light. Is asking me for the Ibindinglist but I dont have a code to Ibindinglist.
System.ArgumentException was unhandled
  Message="Sort string contains a property that is not in the IBindingList."
  Source="System.Windows.Forms"
  StackTrace:
       at System.Windows.Forms.BindingSource.ParseSortString(String sortString)
       at System.Windows.Forms.BindingSource.set_InnerListSort(String value)
       at System.Windows.Forms.BindingSource.SetList(IList list, Boolean metaDataChanged, Boolean applySortAndFilter)
       at System.Windows.Forms.BindingSource.ResetList()
       at System.Windows.Forms.BindingSource.EnsureInnerList()
       at System.Windows.Forms.BindingSource.get_InnerListFilter()
       at System.Windows.Forms.BindingSource.set_InnerListFilter(String value)
       at System.Windows.Forms.BindingSource.set_Filter(String value)
       at UAN.AssetDepreciation_UC.ComboBox1_SelectedIndexChanged(Object sender, EventArgs e) in C:\VS2005\UAN\Forms\General\AssetDepreciation\AssetDepreciation_UC.vb:line 162
       at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
       at System.Windows.Forms.ComboBox.OnDataSourceChanged(EventArgs e)
       at System.Windows.Forms.ListControl.SetDataConnection(Object newDataSource, BindingMemberInfo newDisplayMember, Boolean force)
       at System.Windows.Forms.ListControl.DataSourceDisposed(Object sender, EventArgs e)
       at System.ComponentModel.Component.Dispose(Boolean disposing)
       at System.Windows.Forms.BindingSource.Dispose(Boolean disposing)
       at System.ComponentModel.Component.Dispose()
       at System.ComponentModel.Container.Dispose(Boolean disposing)
       at System.ComponentModel.Container.Dispose()
       at UAN.AssetDepreciation_UC.Dispose(Boolean disposing) in C:\VS2005\UAN\Forms\General\AssetDepreciation\AssetDepreciation_UC.Designer.vb:line 10
       at System.ComponentModel.Component.Dispose()
       at UAN.AssetDepreciation_UC.CloseButton_Click(Object sender, EventArgs e) in C:\VS2005\UAN\Forms\General\AssetDepreciation\AssetDepreciation_UC.vb:line 48
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at UAN.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Next
Reply
Map
View

Click here to load this message in the networking platform