How Do You Connect a MVC Application to a Stored Procedure?

I have a C# MVC Web Application that I need to Connect to a Stored Procedure.  I would like to retrieve the results of the stored procedure and put them on a JQuery data grid on a MVC application.


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig WagnerSoftware ArchitectCommented:
What have you tried so far and what have the results been? From there we can help you figure out the next steps.
danielolorenzAuthor Commented:
I added the SQL Connection string to the Web.config.  

I made a callback from the search page to a controller and made a call to the stored procedure from the database.

I need to know how to display the data on the MVC search page on a JQuery data table from a DataSet.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
danielolorenzAuthor Commented:
Was able to finish that problem.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.