Re: General Strange Error on Data Bound ComboBox
Stoyan Damov <[email protected]> Mon, 17 Mar 2008 11:14:34 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
It is. On Mon, Mar 17, 2008 at 10:41 AM, Brady Kelly <[email protected]> wrote: > I have a combobox bound to a BindingSource, in turn bound to a DataTable > of > Agent Names. Everything is handled by the VS 2008 designer, i.e. I have no > custom data binding code, nor do I have any code that sets anything on the > combobox. Yet, when I start my project, I get the following error. This > only occurs when 'Break when thrown' is set for Framework exceptions, but > surely this should only apply to my code? Is this maybe because I have > the > ComboBox debug symbols loaded? > > > > > > InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. > > Parameter name: SelectedIndex >