本文介绍了嗨...我面对这个错误,我该如何解决..帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CS1061: 'ASP.coaching_class_studentregistration_aspx' does not contain a definition for 'lnkbtnComment_Click' and no extension method 'lnkbtnComment_Click' accepting a first argument of type 'ASP.coaching_class_studentregistration_aspx' could be found (are you missing a using directive or an assembly reference?)
<asp:LinkButton ID="lnkbtnComment" runat="server" Font-Bold="True" Line <pre><pre lang="c#">
onclick =" lnkbtnComment_Click>添加注释</asp:LinkButton>
onclick="lnkbtnComment_Click">Add Comment</asp:LinkButton>
推荐答案hi, 在您的应用程序中缺少"lnkbtnComment_Click"事件.您在aspx页面中提到过,但是编译器在.cs页面中找不到 in your application "lnkbtnComment_Click" event is missing. you have mentioned in the aspx page but compiler couldn''t finding in .cs page
更多推荐
嗨...我面对这个错误,我该如何解决..帮助我
发布评论