clerartext是自己写的方法吧private void clerartext()
{
this.textBox1.Text = "";
this.txt_Password.Text="";
}
//弹出窗口的函数
public void MsgBox(string msg)
{
Page.RegisterStartupScript("","<script language=javascript>alert('"+ msg + "');</script>");
}
{
this.textBox1.Text = "";
this.txt_Password.Text="";
}
//弹出窗口的函数
public void MsgBox(string msg)
{
Page.RegisterStartupScript("","<script language=javascript>alert('"+ msg + "');</script>");
}
但应该是有js在客户端写的
所以才不会刷新页面