Static Bool IsNumeric (String Str) {IF (Str == Null || Str.Length == 0) Return False; Foreach (Char C in Str) {i (! char.isumber (c)) {Return False;}} Return True;}
Reposted in: http://www.xmaspx.com/blogs/hwenfa/archive/790b2aa1c604438cb33a30e8c02820c2.aspx