Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Combobox refresh after changing displaymember and valuemember

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dchman - 28 Jun 2006 17:31 GMT
I want to set the values for the combobox.displaymember and valuemember at
runtime.  Its seems simple enough, but after changing them in response to a
change in an option group, I can't figure out how to get the combobox to
refresh itself with the new settings.  I've tried the combobox.refresh()
method.

Anyone know how to get the combo box to refresh itself?

thanks
Signature

dchman

William Sullivan - 29 Jun 2006 16:33 GMT
Did you try the Invalidate() method?  

> I want to set the values for the combobox.displaymember and valuemember at
> runtime.  Its seems simple enough, but after changing them in response to a
[quoted text clipped - 5 lines]
>
> thanks
dchman - 29 Jun 2006 17:11 GMT
Thanks for the tip.  Much better than my work-around of refilling the
associated table adapter.
Signature

dchman

> Did you try the Invalidate() method?  
>
[quoted text clipped - 7 lines]
> >
> > thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.