Пример #1
0
        protected void btnSubmitHousePortion_Click(object sender, EventArgs e)
        {
            DataTable Houses_Portion = new DataTable();

            Houses_Portion = PropertyData.SearchHouse_Portion(
                GetPropertyType(),
                PropertyData.GetAreaNameByID(int.Parse(ddArea.SelectedValue)),
                ddSizeUnit.SelectedValue,
                GetMinSize(),
                GetMaxSize(),
                GetMinPrice(),
                GetMaxPrice(),
                ddPosition.SelectedValue,
                GetFloor(),
                GetRooms()
                );

            Session["SEARCH_TYPE"]   = "house_portion";
            Session["SEARCH_RESULT"] = Houses_Portion;
            Response.Redirect("Result.aspx");
        }