我在第72行得到错误。 [英] am getting error in line 72.

查看:92
本文介绍了我在第72行得到错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

hi,



查看你的cs页面下拉列表中包含DropDownList1_SelectedIndexChanged事件。你在设计页面中提到过。如果您想激活此事件,请在您的cs文件中创建此事件,或从设计编码中删除以下行。



onselectedindexchanged =DropDownList1_SelectedIndexChanged





问候,

Prakash.T


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


这篇关于我在第72行得到错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆