dropdownlist

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 39
Reputation: arunasingh is an unknown quantity at this point 
Solved Threads: 0
arunasingh arunasingh is offline Offline
Light Poster

dropdownlist

 
0
  #1
Feb 19th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 509
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 88
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: dropdownlist

 
0
  #2
Feb 19th, 2009
Hi,

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

  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
KSG
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC