如何解决我的错误 [英] how to solve my error

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

问题描述

我的错误


My error


Error   24  'ASP.mainpage_aspx' does not contain a definition for 'TextBox1_TextChanged' and no extension method 'TextBox1_TextChanged' accepting a first argument of type 'ASP.mainpage_aspx' could be found (are you missing a using directive or an assembly reference?) D:\photostudiobackup\PhotoStudio\MainPage.aspx  1   1   D:\photostudiobackup\PhotoStudio\

推荐答案

删除源代码中的TextBox1_TextChanged事件.


在代码后面检查

TextBox1_TextChanged事件,它在那里并使用Debugger.

check in your code behind for

TextBox1_TextChanged event that it is there and use Debugger .

<asp:TextBox ID="TextBox1"  OnTextChanged="" runat="server"></asp:TextBox>

/*remove that OnTextChange event 
like that */

 <asp:TextBox ID="TextBox1"   runat="server"></asp:TextBox>


这篇关于如何解决我的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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