Exemple #1
0
        protected void btnSubmitPlot_Click(object sender, EventArgs e)
        {
            DataTable Plots = new DataTable();

            Plots = PropertyData.SearchPlot(
                PropertyData.GetAreaNameByID(int.Parse(ddArea.SelectedValue)),
                ddSizeUnit.SelectedValue,
                GetMinSize(),
                GetMaxSize(),
                GetMinPrice(),
                GetMaxPrice(),
                chkLeased.Checked
                );

            Session["SEARCH_TYPE"]   = "plot";
            Session["SEARCH_RESULT"] = Plots;
            Response.Redirect("Result.aspx");
            //Plot CurrentPlot = CreatePlotObject();
            //PropertyData.UploadAd_Plot(CurrentPlot);
            //UploadImages();
        }