|
-
Dec 14th, 2004, 11:49 PM
#1
Thread Starter
Frenzied Member
Items not refresh in ListBox
Hi all,
I have binded a listbox with an ArrayList by setting the DataSource, DisplayMember and ValueMember properties. Listbox is working fine, but when new items are added or removed in the listbox, I recall the function which bind listbox with ArrayList but the changings are not reflected in the listbox until I close the form and reload it.
Any ideas ??
Thanks
-
Dec 28th, 2004, 04:21 PM
#2
Re: Items not refresh in ListBox
How are you adding the new Item? Are you adding them directly to the ListBox?You should add new new Item to your ArrayList and then re-bind the Listbox with the newly modified ArrayList.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
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
|