Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
XML
Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'ASP.studentdetails_aspx' does not contain a definition for 'DropDownList1_SelectedIndexChanged' and no extension method 'DropDownList1_SelectedIndexChanged' accepting a first argument of type 'ASP.studentdetails_aspx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 70:             </td>
Line 71:             <td class="style5">
Line 72:                 <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="False"
Line 73:                     onselectedindexchanged="DropDownList1_SelectedIndexChanged">
Line 74:                     <asp:ListItem>BE</asp:ListItem>

Source File: d:\firmus21\FirmusJobportal\FirmusJobportal\StudentDetails.aspx    Line: 72
Posted
Comments
CHill60 27-Feb-13 4:35am    
Do not repost - add comments to your original post or use the Improve question link to add detail. This question has been answered at http://www.codeproject.com/Questions/553488/amplusgettingpluserrorplusinpluslineplus72

1 solution

hi,

check your cs page having "DropDownList1_SelectedIndexChanged" event for dropdown. you have mentioned in design page. If you want fire this event create this event in your cs file or remove the following line from your design coding.

onselectedindexchanged="DropDownList1_SelectedIndexChanged"


regards,
Prakash.T
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900