combo box issue
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: combo box issue

  1. #1
    Join Date
    Oct 2016
    Posts
    1

    combo box issue

    (Using vb.net) I have two comboboxes. If the user selects a certain option from the first combobox then I want the second combobox to automatically change to its corresponding options. Eg. If I select "computer science" in the first combo box the options of the second combo box should contain options like "B.Sc", "M.Sc" if I select "electrical engineering " in the first combo box the options of the second combo box should contain "M.tech", " B.tech". thanks

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,161

    Re: combo box issue

    So you would place code in the selection changed event of the first combo. That code should clear the second combo and populate it with the desired values
    Always use [code][/code] tags when posting code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center