Hi,
I have a dropdownlist in my MVC 5 application. I am trying to bind the data to dropdownlist using stored procedure . I need to bind the data in webgrid using stored procedure. Can anyone please provide the Model,View,Controller code. I am very new to MVC 5.
Thank you.
Rajeev KumarPosted Jul 11, 2023, 5:41 AM
This is best for You , Here you can see how to bind a dropdownlist with Storedprocedure.
https://www.codingvila.com/2019/01/bind-dropdownlist-asp-dot-net-mvc-from-database-using-stored-procedure.html
Sukesh MarlaPosted Aug 19, 2014, 12:48 AM
http://www.codeproject.com/Articles/724559/Learn-MVC-Model-view-controller-Step-by-Step-in-7
neel kPosted Aug 15, 2014, 10:33 AM
I need to bind dropdownlist using stored procedure.
I have one more stored procedure ,it contains 7 columns, need to bind with webgrid.
Both webgrid and dropdownlist display in one page.
Please help me.I am using Code First Model
Thank you,
Ramesh MaruthiPosted Aug 14, 2014, 12:22 PM
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/advanced-entity-framework-scenarios-for-an-mvc-web-application
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/async-and-stored-procedures-with-the-entity-framework-in-an-asp-net-mvc-application
http://www.csharpdevenv.com/2014/02/using-stored-procedures-with-entity.html
http://www.mindstick.com/Blog/588/Insert%20value%20using%20entity%20framework%20in%20MVC4%20with%20stored%20procedure%20mapping