0
How to display a data from database on a .cshtml page?
I am very new to .cshtml and MVCs. Can some explain me with a sample coding on how to display a data from DB on a .cshtml page. My sincere appreciation to anyone who helps. Good day!
1 ответ
0
Asp. Net mvc uses the Entity framework to communicate with the database. I'd start researching Entity - code first migration.
In Visual Studio, you can start an mvc project with a database already integrated, just select authentication (user) when you start a new mvc project.