this.GetType()的问题
public partial class 测试 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(this.GetType());
}
}
//为什么当前this的类型是:ASP.测试_aspx
[解决办法]
别用这种方式,价格断点调试一下看看type是什么
发布时间: 2012-04-17 15:06:33 作者: rapoo
this.GetType()的问题
public partial class 测试 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(this.GetType());
}
}
//为什么当前this的类型是:ASP.测试_aspx
[解决办法]
别用这种方式,价格断点调试一下看看type是什么