Thought I might post this bit of code in the same type thread


VB Code:
  1. Private Function IsNumeric(ByVal Str As String) As Boolean
  2.         Const Upper As Int32 = 57
  3.         Const Lower As Int32 = 48
  4.         For Each a As Char In Str
  5.             Dim Base As Int16 = Convert.ToInt16(a)
  6.             If (Base <= Upper And Base >= Lower) = False Then
  7.                 Return False
  8.             End If
  9.         Next
  10.         Return True
  11.     End Function