|
-
April 25th, 2007, 01:45 AM
#1
window form's combo box
I am using the combobox in a window form and datasource property of that is the arraylist.
Now when the arraylist changes the combobox shows the new arraylist items in the dropdown but the selected item is that of the previous one.
i use the datasource property set to null before binding it and also tryed the refresh() and the invalidate() but these are not working.
the code are as:
Combobox1.datasource=null;
Combobox1.datasource=arraylist1;
can anyone help me.
Thnx in advance.
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
|