~~~~user input Validation

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.
 
S

Scott M.

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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top