943,831 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 453
  • VB.NET RSS
Feb 19th, 2009
0

dropdownlist

Expand Post »
Sir ,
I have 3 dropdown in first dropdown i have employee id and if i select that id ,related data is displayed in other two dropdown but problem is that i have use coding in the selectedindexchanged of dropdown so the code is transferred from there to someplace and i dont,t want that,plz sort out my problem
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
arunasingh is offline Offline
39 posts
since Dec 2008
Feb 19th, 2009
0

Re: dropdownlist

Hi,

Use a flag variable to decide you want to change the other dropdowns.

VB Syntax (Toggle Plain Text)
  1. Dim bChangeID as Boolean
  2.  
  3. 'On SelectedIndexChanged event
  4. If bChangeID = True Then
  5. 'Do change
  6. End if
  7.  
  8. 'Set bChangeID = true to change the id
Reputation Points: 44
Solved Threads: 101
Posting Pro
selvaganapathy is offline Offline
547 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: DataSource on windows mobile 6 (cant connect to sqlce database file [sdf])
Next Thread in VB.NET Forum Timeline: [request] how to connect remotely to access db





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC