|
-
July 11th, 2012, 11:25 AM
#12
Re: Combobox Filter With Databinding (VB.NET)
While modifying my code I realized something that confused me. How is this code dynamically pulling information from the DB if the Query is the same every time.
:::::If I choose 120 V in the first combobox then the second combobox will only display the motor types associated with 120 V.
But if I choose 240 V will the second combobox display ALL motor types regardless of voltage?
WHat I'm asking is if I would need to make multiple select queries (one for 120 V as you posted above, and one for 240 V), give them different names (240Vfilterme()) and then call the newly named filters in a conditional statement within the cboMotorVoltage_selectedindexchanged sub?
Or maybe I just have no idea what I'm talking about. haha
Last edited by S_John; July 11th, 2012 at 11:31 AM.
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
|