我的清空代码就是如下:
private void imgbtn取消_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
this.txt回复内容.Text="";
this.txt姓名.Text="";
this.txt密码.Text="";
}
有问题吗?
private void imgbtn取消_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
this.txt回复内容.Text="";
this.txt姓名.Text="";
this.txt密码.Text="";
}
有问题吗?
onclick='history.go(-1)';
如果是webControls
b.Attributes["onclick"]="javascript:history.back()";
b.Attributes["onclick"]="javascript:history.go(-1)";