Base solution for your next web application
Open Closed

Retrieve Data from a Database #5081


User avatar
0
jeddins created

I am new to developing applications using database requests. I have been trying for a while to figure out how to request data from my database. There doesn't seem to be much straight forward documentation on how to do this within the ASPNET ZERO frame work. So far I have been successful in creating my model, controller, and view, but can't figure out the data retrieval part.

I have already created a new view being displayed in the Mpa Area and just want to display some user information and that users content on my view.

Could someone please provide me with a quick tutorial or example including the DB Context, DBSet, then the model, controller and view.

I understand how ajax works, but seem to missing an important part in the other sections.

Thanks for any assistance!


5 Answer(s)