vb.net

vb.net Kenya
  • 12 years ago

     

    hi,

    how to restrict textbox that accept only numbers? using key press event

  • 12 years ago

    you would better use onChange, and replace every no-number with empty string to prevent pasting, drops and para-troops to make unexpected hack to you

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer Science is no more about computers than astronomy is about telescopes.” - E. W. Dijkstra