Jagan Mohan

Jagan Mohan

  • NA
  • 19
  • 57.1k

How to call a Stored Procedure with Parameters in MVC?

May 6 2013 12:36 PM

Hi to all.For the past two weeks i'm trying to learn ASP.NET MVC.I've created a small data entry application.with Model Binding i'm saving data into database(by the way i'm using Database First Approach(creating Model Classes from an Existing Database)) successfully.Now my requirement is i've a stored procedure whose process is to take all the user input values as parameters and saving those values into database by executing the corresponding stored procedure.How to implement this process in ASP.NET MVC 3 with Database First Approach? Anyone can help me regarding this scenario.

                                                                              Thanks in Advance.


Answers (2)