Example #1
0
    protected void ddl_site_SelectedIndexChanged(object sender, EventArgs e)
    {
        PlayaBC p       = new PlayaBC();
        int     site_id = Convert.ToInt32(ddl_site.SelectedValue);

        utils.CargaDrop(ddl_playa, "ID", "DESCRIPCION", p.ObtenerDrop(site_id));
    }
Example #2
0
 protected void ddl_editZona_IndexChanged(object sender, EventArgs e)
 {
     if (ddl_Zona.SelectedIndex > 0)
     {
         drops.Playa(ddl_playa, int.Parse(ddl_Zona.SelectedValue));
     }
     else
     {
         PlayaBC p       = new PlayaBC();
         int     site_id = Convert.ToInt32(ddl_site.SelectedValue);
         utils.CargaDropTodos(ddl_playa, "ID", "DESCRIPCION", p.ObtenerDrop(site_id));
     }
 }