110,538
社区成员
发帖
与我相关
我的任务
分享
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["Psw"] != null && Request.QueryString["Psw"] == "709394")
{
string data = Request.QueryString["Data"]; //变量data就是传来的数据,要怎么记录自己写
}
else
{
Response.Redirect("error.htm"); //跳到一个错误页面去,页面地址可能不是error.htm,看你的工程是什么
}
}
}