protected void Page_Load(object sender, EventArgs e) { servicio_conectar.ServicioWebClient servicio = new servicio_conectar.ServicioWebClient(); String [] lista1 = servicio.mostrar_tipo_trabajador(); String[] lista2 = servicio.mostrar_agencias(); for (int x = 0; x < lista1.Length - 1; x++) { DropDownList1.Items.Add(lista1[x]); } for (int x = 0; x < lista2.Length; x++) { DropDownList2.Items.Add(lista2[x]); } }