|
-
Oct 4th, 2013, 08:57 AM
#1
Re: OutOfRange error when filling new data to clear datatable with table adapter.
I've always thought that to be an inefficiency in the event system, but there isn't any getting around it. Clearing the items in the listbox by any means will usually trigger a SelectedIndexChanged event back to -1. I'm not sure whether it would do that if the index already was -1 (I would think that it should not, but I'm not sure).
My usual boring signature: Nothing
 
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
|