Textbox hanya menrima input angka / numerik pada VB.NET
Howto
1. Use event KEYPRESS
2. Write code below :
If Asc(e.KeyChar) <> 8 Then
If Asc(e.KeyChar) < 48 Or Asc(e.KeyChar) > 57 Then
e.Handled = True
End If
End If
"Knowledge is power but Wisdom is liberty"
Disclaimer :
All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site.The owner of will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information. All other business-related trademarks and copyrights, including but not limited to business logos and website screenshots, are property of their respective owners.
Post a Comment
Harap gunakan bahasa yang baik dan sopan, terima kasih