Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/12/2009, 08:20
xinxan22
 
Fecha de Ingreso: septiembre-2005
Mensajes: 522
Antigüedad: 19 años, 5 meses
Puntos: 0
Visual Basic .net numero de variables

hola,
me gustaría saber como puedo hacer en Visual Basic .Net lo siguiente:

boton1.text="1"
boton2.text="2"
boton3.text="3"
boton4.text="4"
boton5.text="5"

Un array de botones para que, con un bucle, pueda aceder al botón que me interesa, por ejemplo algo así:

i=2

boton & i & .text = i

Gracias.
Un saludo