在类中定义下面的方法,然后进行调用。
public string messageBox()
{
string str;
str="<script language=javescript>alert('"+txtMessage+'");location='"+url+'"</script>";
}
response.write(cc.messageBox(" ","," ~/manage/login.aspx""));
在类中定义下面的方法,然后进行调用。
public string messageBox()
{
string str;
str="<script language=javescript>alert('"+txtMessage+'");location='"+url+'"</script>";
}
response.write(cc.messageBox(" ","," ~/manage/login.aspx""));