Could somebody please explain how to insert data from a SQL Server database into an existing ASP.NET MVC 5 project?
I have a file Shared/_layout.vbhtml which has the following lines:
<li>@Html.ActionLink("Home", "Index", "Home")</li>
<li>@Html.ActionLink("About", "About", "Home")</li>
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
However I would like to replace this with the actual data from the Navigation table. I have added a new Data Connection to SQL Server within the ASP.NET MVC 5 project, but I am now unsure as how to bind the connection this page.
Any examples or advice would be much appreciated :-)