By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,557 Members | 1,406 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,557 IT Pros & Developers. It's quick & easy.

~~~~user input Validation

P: n/a
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.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:23**********************************@microsof t.com...
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.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.