Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, everyone:
Here is the thing, I am working on a project in asp.net mvc 5, and i need to merge the create, edit and index page into one, I already did that, but now, when I'm choose the entry on my table to edit it, the form only adds me a new entry, don't edit mine, I already tried to send the id of the entry to my controller using "FormCollection", but it isn't working either, please, I need some help, Regards, and Thanks....
Posted
Comments
Suvendu Shekhar Giri 14-Jan-15 20:23pm    
It would be better if you can update your question with some relevant code so that actual issue can be identified.
Ainy Mughal 14-Jan-15 23:18pm    
If you provide code that would be more useful.
Philippe Mori 15-Jan-15 21:33pm    
Without code and without any details on how the UI works, we cannot really tell. Do all rows are editable at once or a single one. When do you submit changes?

1 solution

Index, Create and Edit are Views. I think you need PartialViews to add multiple Views to one page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900