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

Hi,

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

Dim bChangeID as Boolean

   'On SelectedIndexChanged event
       If bChangeID = True Then
            'Do change
       End if

    'Set bChangeID = true to change the id
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.