Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
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 26-Feb-13 23:28pm
Comments
CHill60 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100