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"];
}
}