protected void Button1_Click(object sender, EventArgs e)
        {
            DateTime       find  = Convert.ToDateTime(TextBox1.Text);
            DateTime       find1 = Convert.ToDateTime(TextBox2.Text);
            String         temp  = DropDownList1.SelectedItem.ToString();
            BookingControl book  = new BookingControl();

            Label7.Visible = true;
            Label7.Text    = book.search(find, find1, temp);
            if (Label7.Text == "" || Label7.Text.Equals(null))
            {
                Label7.Text      = "Couldn't find the search.Enter proper date ";
                Label7.ForeColor = System.Drawing.Color.Red;
            }
            else
            {
                int checkbooking = Convert.ToInt16(Label7.Text);
                if (checkbooking > 1)
                {
                    Button2.Visible  = true;
                    Label7.ForeColor = System.Drawing.Color.Blue;
                }

                else
                {
                    Button2.Visible = false;
                }
            }
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            DateTime       find  = Convert.ToDateTime(TextBox1.Text);
            DateTime       find1 = Convert.ToDateTime(TextBox2.Text);
            String         temp  = DropDownList1.SelectedItem.ToString();
            BookingControl book  = new BookingControl();

            Label7.Text = book.search(find, find1, temp);

            int checkbooking = Convert.ToInt16(Label7.Text.ToString());

            if (checkbooking > 1)
            {
                Button2.Visible = true;
            }

            else
            {
                Button2.Visible = false;
            }
        }