This really doesnt tell us anything about your database:
protected void SearchTest(object sender, EventArgs e)
{
string strNewPage;
strNewPage = "~/luxlistings/default.aspx?countryid={0}&stateid={1}&priceid={2} ";
strNewPage = string.Format(strNewPage, Country_Select.SelectedValue, State_Select.SelectedValue, Price_Select.SelectedValue);
Response.Redirect(strNewPage);
}
It just shows us how you redirect to another page.
What you could do if, for example, you are populating a dataset with the results returned from sql is something like
if(ds.Tables[0].Rows.Count == 0)
{
Response.Write("No homes match your criteria!");
}
else
{
control.DataSource = ds.Tables[0];
control.DataBind();
}
For your second problem, have you read about Full Text Index's? This might be the way to go to search your entire database.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========