TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhilash J A
524
2.4k
600.8k
India postal code validation not working mvc 5
Mar 4 2017 12:26 AM
Hello all,
I'm working on MVC 5 project, there I have add postal validation like this,
[RegularExpression(@
"^\d{5}(-\d{4})?$"
, ErrorMessage =
"Please Enter Valid Postal Code."
)]
public
string
Pincode {
get
;
set
; }
But the problem is, 695028 ; that is 6 digit not working.
Please help me...
Reply
Answers (
1
)
Delete from Row in Gridview but not Databse
How to retain textbox values after post back in mvc