Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How i can validate passport number of all countries in MVC Model.

Please Reply
Posted
Comments
F-ES Sitecore 21-Aug-15 4:08am    
MVC is just a presentation framework. Also there is nothing built in to the general .net framework to do this, you'll need to google how this is done. Either passport numbers follow a pattern or maybe there is a web service you can use. Either way, google will know.
Khushi Saraswat 24-Aug-15 4:09am    
yes i got it ,perhaps i need to use web service bcs all countries passport format are differ

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900