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
Harikanth Kompally
1.6k
120
31k
Validation failed for one or more entities
Jan 21 2017 8:22 AM
Hai
Am trying
AngularJS - Crud operation so when i save data in database
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
this error is coming up
and am using JsonResult like
public JsonResult AddStudent(DataAccess.Student student)
{
//try
//{
if (ModelState.IsValid)
{
sampleEntity.Students.Add(student);
sampleEntity.SaveChanges();
return Json(new { status = "Student added successfully" });
}
}
how to slove this plz help me
check following attachment
Reply
Answers (
2
)
How to call static web method using ajax
Convert Dictionary Net 4.0 to Net 2.0 ?