Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/01/2011, 13:44
lucashard
 
Fecha de Ingreso: diciembre-2007
Mensajes: 41
Antigüedad: 16 años, 4 meses
Puntos: 0
anidar DropDownList

como anido 2 dropdownlist, uno ya lo llene que es el siguiente codigo:

{
string sql = "select * from UnidadServicios order by Descripcion";
SqlConnection conection = new SqlConnection(connString);
SqlDataAdapter p = new SqlDataAdapter(sql, conection);
DataSet ds = new DataSet();
p.Fill(ds);
this.DropDownList1.DataSource = ds.Tables[0];
this.DropDownList1.DataMember = "descripcion";
this.DropDownList1.DataTextField = "descripcion";
this.DropDownList1.DataValueField = "unidadservicioid";
this.DropDownList1.DataBind();
}

como llene el otro dropdownlist?