locked
Problem with IF ELSE IF() condition for alphabetical and numeric values. RRS feed

  • Question

  • Hi, i have a textbox that displays values as user uses the button(text/numeric).

    Well the problem is with using If Else statements condition

    I want to have something like this....

    if (the textbox contains alpabetical values)            <--what should be the code for containing alphabetical values -->

    {

    <!--a set of task-->

    <--a bunch of code/condition-->

    }

    else if (the text box contains numeric values)         <--what should be the code for this if condition for containing numerical values -->

    {

    <!--a set of task-->

    <--a bunch of code/condition-->

    }

    the conditions are as.....if the textbox has alphabetical values do this task or else if it has numeric values do that task. what should be the code for this If Else If condition?

     

    Thanks in advance!

    Wednesday, May 18, 2011 7:21 AM

All replies