全部代码如下,,,:哈,我也不知道怎么回事啊,,
<script runat="server" language="c#">
void Page_Load(Object Sender,System.EventArgs e)
{
btnok.Attributes.Add("onclick", "javascript:return confirm('are you sure?');");
}
void btnok_Click(Object Sender,System.EventArgs e)
{
Response.Write("<script language=javascript>alert('密码有误,请重试!');</script>");
}
</script>