~~~~user input Validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I wanted to know how i could validate a users input. I.e to ensure that all data that is entered into a textbox is an interger, text, etc?

can anyone point me to some useful articles

im using vb.net to create a windows applicataion.
 
Is this for an ASP.NET web page? If so, just use the validation controls.
If not, you will have to write your own code to check the input. You could
use IsNumeric() to check if a value is a number or not, you can use regular
expressions for other input checking or string methods for string checking.


Tonta said:
Hi,

I wanted to know how i could validate a users input. I.e to ensure that
all data that is entered into a textbox is an interger, text, etc??
 
Back
Top