嗨...我面对这个错误,我该如何解决..帮助我 [英] Hi...i am facing this error how can i solve this..help me
本文介绍了嗨...我面对这个错误,我该如何解决..帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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
这篇关于嗨...我面对这个错误,我该如何解决..帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文