网页中出现超链接,href=新闻页.aspx?newname={0},?前面的为处理程序URL,?后面的为参数
你在一般处理程序中string newname = context.Request["newname"];//newname为网页传来的参数
处理newname即可。

解决方案 »

  1.   

    发送页:protected void btnLogin_Click(object sender, EventArgs e)
        {   
               Session["name"]= this.textBox1.Text;
               Server.Transfer("~/Admin/Index.aspx");
               或者//Response.Redirect("~/Admin/Index.aspx");
           
    }
    接受页:     protected void Page_Load(object sender, EventArgs e)
        {
         this.textBox1.Text=(string)Session["name"];
    }