~~~~user input Validation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tonta

    #1

    ~~~~user input Validation

    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.
  • Scott M.

    #2
    Re: ~~~~user input Validation

    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" <anonymous@disc ussions.microso ft.com> wrote in message
    news:23304EFE-B47D-4BFC-84F1-77E495AC886E@mi crosoft.com...[color=blue]
    > Hi,
    >
    > I wanted to know how i could validate a users input. I.e to ensure that[/color]
    all data that is entered into a textbox is an interger, text, etc??[color=blue]
    >
    > can anyone point me to some useful articles?
    >
    > im using vb.net to create a windows applicataion.[/color]


    Comment

    Working...