Compiler Error Message: CS1061: 'def2_aspx' does not contain a definition for 'DropDownList2_SelectedIndexChanged' and no extension method 'DropDownList2_SelectedIndexChanged' accepting a first argument of type 'def2_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
 
Line 55:                 </td> Line 56:                 <td class="auto-style5"> 
Line 57:                     <asp:DropDownList ID="DropDownList2" runat="server" Height="18px" Width="149px" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" > 
Line 58:                     </asp:DropDownList>
Line 59:                 </td>