Hello Vijay,
Try This
Alphanumeric is a combination of alphabetic and numeric characters.The alphanumeric character set consists of the numbers 0 to 9 and letters A to Z. for example these are the alphanumeric : Vijay1.
Dot Net Provides us the concept of Regular Expressions Under the Name Space System.Text . You Can Use Solution 1 as well.But i Intend to use RegularExpression. you can Modify Regular expression according to ur Criteria:
Private Function IsAlphaNum(ByVal strInputText As String) As Boolean
Dim IsAlpha As Boolean = False
If System.Text.RegularExpressions.Regex.IsMatch(strInputText, "^[a-zA-Z0-9]+$") Then
IsAlpha = True
Else
IsAlpha = False
End If
Return IsAlpha
End Function
"^[a-zA-Z0-9]+$" is a Regular Expresiion.It Tells u a string can start from capital Characters,Small Characters Or Numbers and can contain combination of more then 1. Characters.