예제 #1
0
    protected void IB_Busquedageneral_Click(object sender, ImageClickEventArgs e)
    {
        UFiltro busqueda = new UFiltro();

        busqueda.nombrehotel = TB_Busquedageneral.Text;
        busqueda.nombrehotel = new LFiltro().filtro_general_nombre(busqueda);

        Session["hotelseleccionado"] = busqueda;
        DL_Listaprincipalhoteles.DataBind();
    }
예제 #2
0
    protected void B_Filtrar_Click(object sender, EventArgs e)
    {
        LFiltro filtro   = new LFiltro();
        UFiltro busqueda = new UFiltro();

        busqueda = filtro.filtro_general(TB_PrecioMin.Text, TB_PrecioMax.Text, TB_Maxpersonas.Text, TB_DateAntesDe.Text, TB_DateDespuesDe.Text, DDL_Calificacion.Text, DDL_Zona.Text, DDL_Municipio.Text, DDL_Tipo.Text);

        //L_MensajeFalloFechas.Text = msj;
        Session["hotelseleccionado"] = busqueda;
        DL_Listaprincipalhoteles.DataBind();
    }