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
Sasi Reddy
NA
346
225.9k
Serverside validations in MVC4
Apr 14 2014 6:29 AM
public partial class NormalRegistration
{
[Required]
public string Name { get; set; }
[Required]
public string Password { get; set; }
}
This is my model class.I need to compare both name and password but both should not be equal.For that how to write the validation for that?..
please tell me how to write validation?
Reply
Answers (
5
)
FlexiGrid using Mvc4
DropDownList