|
-
Aug 6th, 2015, 03:58 PM
#14
Thread Starter
Addicted Member
Re: Bound Combobox throws System.ArgumentOutOfRangeException
 Originally Posted by techgnome
the only thing that comes to my mind is that maybe your combo doesn't have all of the values it's trying to bind to.
Ex: the DT for the combo hold 1,3,5,6,7... but the record that it's trying to show has a value of 2 ... so it doesn't exist in the combo.
-tg
That's what the error message 'System.ArgumentOutOfRangeException' would have me believe as well, but I'm not searching for a value before the query and everything present in the database ends up in the combobox.
The other error message 'System.Data.EvaluateException' occurred in System.Data.dll when the form closes is equally baffling.
If i comment out the combobox fill both error messages no longer appear, so that's definitely where its occurring. I'll try some other stuff to see if i can shake something loose. Thanks for everyone's responses.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|