protected void btnSubmitHouseFull_Click(object sender, EventArgs e) { DataTable Houses_Full = new DataTable(); Houses_Full = PropertyData.SearchHouse_Full( GetPropertyType(), PropertyData.GetAreaNameByID(int.Parse(ddArea.SelectedValue)), ddSizeUnit.SelectedValue, GetMinSize(), GetMaxSize(), GetMinPrice(), GetMaxPrice(), ddPosition.SelectedValue, GetFloors(), GetRooms() ); Session["SEARCH_TYPE"] = "house_full"; Session["SEARCH_RESULT"] = Houses_Full; Response.Redirect("Result.aspx"); }