Input Textbox numeric only with VB.net


Input Numbers only on textbox, when keypress!





 Private Sub TxtGroupIndeks_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TxtGroupIndeks.KeyPress
        If Not Char.IsNumber(e.KeyChar) AndAlso Not Char.IsControl(e.KeyChar) Then e.KeyChar = ""
    End Sub
Input Textbox numeric only with VB.net
Item Reviewed: Input Textbox numeric only with VB.net 9 out of 10 based on 10 ratings. 9 user reviews.
Emoticon? nyengir

Berkomentarlah dengan Bahasa yang Relevan dan Sopan.. #okemasbro! ^_^

Komentar Terbaru

Just load it!