elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: AIO elhacker.NET 2021 Compilación herramientas análisis y desinfección malware


  Mostrar Mensajes
Páginas: [1]
1  Programación / .NET (C#, VB.NET, ASP) / TEXTBOX en: 9 Noviembre 2021, 01:57 am
Hola como puedo hace para que un textBox me no me acepte numeros menores a 2020

tengo este pero este solo me funciona cuando es mayor a 2020 y necesito todo lo conttario

Private Sub txtnumero_TextChanged(sender As Object, e As EventArgs) Handles txtnumero.TextChanged
        If Val(txtnumero.Text) > 2020 Then
            MsgBox("Valor inválido", MsgBoxStyle.Information, "Información")
            txtnumero.Focus()
        End If
    End Sub
si me podrian ayudar porfavor :(
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines