前台页代码如下:
<input />
后台代码发下:
首先要定义一个全局变量
public string text =string.Empty;
然后就可以在
if (!this.IsPostBack)
{
text = "11";
}
前台页代码如下:
<input />
后台代码发下:
首先要定义一个全局变量
public string text =string.Empty;
然后就可以在
if (!this.IsPostBack)
{
text = "11";
}
相关文章: