Ankita Singh

Ankita Singh

  • NA
  • 159
  • 19.2k

work with two dropdown control...

Feb 27 2018 2:08 AM
<asp:DropDownList ID="Course" runat="server" class="slectbig" >
<asp:ListItem Value="0 " Selected="True">Select Course</asp:ListItem>
<asp:ListItem Value="1">B.Tech</asp:ListItem>
<asp:ListItem Value="2">Polytechnic</asp:ListItem>
<asp:ListItem Value="3">MBA</asp:ListItem>
</asp:DropDownList>
 
 
<asp:DropDownList ID="ACan" runat="server" class="slectbig" >
<asp:ListItem Value="0" Selected="True"> Select </asp:ListItem>
<asp:ListItem Value="1">Appearing In Class 10th</asp:ListItem>
<asp:ListItem Value="2">Appearing In Class 12th</asp:ListItem>
<asp:ListItem Value="3">Appearing In Graduation</asp:ListItem>
</asp:DropDownList>
 
in two ddl if i select B.Tech then show value 2 in ACan ddl , and select  Polytechnic then show value ! in ACan ddl,select MBA then show value 3 in ACan ddl....  

Answers (1)