string hotel = Request.Params["hotel_name"];
DateTime start =Convert.ToDateTime( Request.Form["start"]);
DateTime over = Convert.ToDateTime(Request.Form["over"]);
string ourhotelconn = getConnStr();
SqlConnection ourhotelshopconn = new SqlConnection(ourhotelconn);
ourhotelshopconn.Open();
string select3 = "select count(*) from reservedetail where hotel_name=' + hotel + ' and reserve_startTime between ' + start + ' and ' + over + ' and reserve_overTime between ' + start + ' and ' + over + ' ";
SqlCommand timecommand = new SqlCommand(select3, ourhotelshopconn);
object objtime = timecommand.ExecuteScalar();
int c4 = Convert.ToInt32(timecommand.ExecuteScalar());