Cita: ueno En Vb Era Asi Left(cad,2) Y Basic Net Eso No Funciona
Pues yo lo hago así y no tengo problemas:
Cita: Dim s As String = "mi texto de prueba"
Response.Write("Normal = " & s & "<br>")
Response.Write("Left = " & Left(s, 2) & "<br>")
Response.Write("Right = " & Right(s, 2))
Resultado:
Cita: Normal = mi texto de prueba
Left = mi
Right = ba
Ahora:
Cita: Si Alguien Me Pudiera Decir Como Crear Un Arreglod E Controles En Vb.net
Te paso un ejemplo usando un arreglo de labels.
Cita: Dim lbl(4) As Label
For i As Integer = 0 To lbl.Length - 1
lbl(i) = New Label
lbl(i).Text = "my Label " & i
'.....
'....
Next
Salu2