Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
20
Reply
I Can't get value from list while Editing in MVC
siva nathan
Mar 7 2017 5:39 AM
390
Reply
name email
siva
[email protected]
Edit|Details|Delete
[HttpGet]
public ActionResult Edit(string name)
{
var model = new List<Registration>();
Registration reg = model.FirstOrDefault(emp => emp.Name == name);
if (reg == null)
return HttpNotFound();
return View(reg);
}
while im clicking Edit link i'm getting name=null
how can i get name from this
Attachment:
Screenshot_(10).rar
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
20
)
Next Recommended Forum
How to use SQLiteCursor in C#.net
email sending issue @yahoo.com on using godaddy.com