页面private void Page_Load(object sender, System.EventArgs e)
{
ViewState["submittimes"]=Convert.ToInt32(ViewState["submittimes"])+1;
if(!Page.IsPostBack)
{
ViewState["submittimes"]=1;
}
}
页面:
<INPUT type="button" value="Button" >
关于返回前面的页面。如何两者兼得,自问自答
80酷酷网 80kuku.com