1.) I need a way to validate that input in a text box is actually numeric, such as:
intUnits = CInt(txtUnits.Text)
That works with a Try/Catch but I want to validate that the input is actually numeric
2.) Is there a way to validate that input in a text box is only (A-Z)?
Sorry if these are newbie questions...I'm trying to make the transition from VB6 to VB.NET.
Thankx!
intUnits = CInt(txtUnits.Text)
That works with a Try/Catch but I want to validate that the input is actually numeric
2.) Is there a way to validate that input in a text box is only (A-Z)?
Sorry if these are newbie questions...I'm trying to make the transition from VB6 to VB.NET.
Thankx!