为什么我没引用“System.Web.UI;”
//usingSystem.Web;//usingSystem.Web.UI;usingSystem;//usingSystem.Web;//usingSystem.We...
//using System.Web;
//using System.Web.UI;
using System;
//using System.Web;
//using System.Web.UI;
using System;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
this.text1.Text = "xxxx";
this.text2.Text = "xxxx";
}
}
public void link(object sender, EventArgs e)
{
Response.Write(this.text1.Text + this.text2.Text);
}
}
为什么我没引用“System.Web.UI;”
public partial class _Default : System.Web.UI.Page 这里仍旧可以定义? 展开
//using System.Web.UI;
using System;
//using System.Web;
//using System.Web.UI;
using System;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
this.text1.Text = "xxxx";
this.text2.Text = "xxxx";
}
}
public void link(object sender, EventArgs e)
{
Response.Write(this.text1.Text + this.text2.Text);
}
}
为什么我没引用“System.Web.UI;”
public partial class _Default : System.Web.UI.Page 这里仍旧可以定义? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询