1.aspx.cs

protected void HouseManagement(object source, DataListCommandEventArgs e)
    {
             string url;
             url = "HouseUpdate.aspx?houseCode=1“;
             Response.Redirect(url);
         }    }

 

HouseUpdate.aspx.cs

public partial class Item_HouseUpdate : System.Web.UI.Page
 {
     protected void Page_Load(object sender, EventArgs e)
     {
         lblHouseCode.Text = Request.QueryString["houseCode"];
     }
 }

 

两个.aspx 页面传值   Request.QueryString["NAME"]_UI