protected void Button16_Click(object sender, EventArgs e) { this.Label6.Text = "Jugador del que se desea eliminar:"; this.Label6.Visible = this.ddljugadorbase.Visible = this.Button17.Visible = true; this.Label7.Visible = this.Jugador2.Visible = this.Label8.Visible = this.txtunides.Visible = this.Label9.Visible = this.txtunisob.Visible = this.Label10.Visible = this.txtunidest.Visible = this.Label11.Visible = this.DropDownList2.Visible = this.Button15.Visible = false; Button21.Visible = DropDownList3.Visible = Button20.Visible = Label12.Visible = Label13.Visible = Button18.Visible = Label14.Visible = TextBox2.Visible = false; Label15.Visible = TextBox3.Visible = Label16.Visible = TextBox4.Visible = Label17.Visible = TextBox5.Visible = Button22.Visible = false; ddljugadorbase.Items.Clear(); DropDownList3.Items.Clear(); ServiceReference1.WebServiceProyectoSoapClient referencia = new ServiceReference1.WebServiceProyectoSoapClient(); string[] datos = referencia.LUsuarios().Split(','); for (int i = 0; i < datos.Length; i++) { if (datos[i].Length != 0) { ddljugadorbase.Items.Add(datos[i]); } } }