C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Allows one or more alphabetical and/or numeric characters. This is a more generic validation functi


Posted Date: 07 May 2008    Resource Type: Code Snippets    Category: Validations

Posted By: Rekha        Member Level: Gold
Rating:     Points: 10



Function IsValidAlphaNumericText(ByVal strAlphaNum As String) As Boolean
' Allows one or more alphabetical and/or numeric characters. This is a more generic validation function.
Dim regExPattern As String = "^[A-Za-z0-9]+$"
Return MatchString(strAlphaNum, regExPattern)
End Function 'IsValidAlphaNumericText




Responses

Author: vivek kushwaha    08 May 2008Member Level: Silver   Points : 2
where is MatchString(Parameter1, Parameter2) Defined.


Author: vivek kushwaha    08 May 2008Member Level: Silver   Points : 2
Please show me that definition. by that given code will work.
thank you.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to check whether the textbox have only numbers.
Previous Resource: RegEx for credit card validation
Return to Discussion Resource Index
Post New Resource
Category: Validations


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

efax

Contact Us    Privacy Policy    Terms Of Use