Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can anyone help me to save the details in a post method from a page, where the data are filled by a stored procedure.


My page contains a table with multilpe rows, a grid. So each row values should be saved with the selected dropdown values in each row.

Thanks in advance
Posted

1 solution

 
Share this answer
 
v2
Comments
aswathy.s.88 26-May-15 0:57am    
Hi Thanks for the solution.

But,

[HttpPost]
public ActionResult Index(List emp)

In my case I'm filling the table with a stored procedure "GetEmployees".

But in the post method, the object "emp" is coming as null. Anything else to be done?

Without jQuery can I passs a table with data to the POST method.

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