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