Click here to Skip to main content
15,911,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how i can fetch data from database and show it in view using model.

i have view(having filters for data) with search button , i am entering data and click search button . data should be fetch by filtering data from entered data,fetch data should shown in view.

What I have tried:

i am beginner in mvc.i have no idea about this. till now i able to insert data in database from view only.
Posted
Comments
F-ES Sitecore 24-Feb-16 5:15am    
Go through a book on MVC and it will teach you the basics and how to do these things will become clear. Failing that at least go through an on-line tutorial like this one

http://www.asp.net/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-1

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