Interviews - C# Corner

Raman Ghantiyala
how to use stored procedure in MVC3
By Raman Ghantiyala in ASP.NET Programming on Sep 04, 2012
  • Parthiv Pandya
    Sep, 2012 11

    Hi Raman, Suppose you are working with Linq to sql then drag and drop your stored procedure to right side window of dbml and build the project. then you use it like a method in your project. Ex: if you are creating Datacontext Object then use that Object to retrieve your stored procedure. DataContext db=new DataContext(); db. if parameter is available then pass into it.

    • 0

C# Corner Hyderabad Developer Conference

Most Popular Companies

Most Popular Job Functions