Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
changes not reflecting to data base
ajay kumar
8y
401
1
Reply
public JsonResult SaveData(Models.Student student)
{
Student obj = db.Students.Find(student.Id);
obj.Id = student.Id;
obj.Name = student.Name;
obj.Email = student.Email;
db.Students.Add(obj);
db.SaveChangesAsync();
but Database is not updating
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How to do required filed in mvc using data annotation
ckeditor taking time to load in asp .net mvc 4