Category - Entity Framework
Results 21 - 25 of 254
17 Nov 2020 17 Nov 2020 0 Comments  663 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform looping through Model properties in View using FOR EACH loop in ASP.Net MVC Razor.

The Entity Framework will be used to fetch the data from Database and populate the Model class properties.

Finally inside the View, using a FOR EACH loop the Model items will be traversed and data will be displayed using HTML Table in ASP.Net MVC Razor.
17 Nov 2020 17 Nov 2020 0 Comments  390 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform looping through Model Items in ASP.Net Core Razor Pages.

The Model data will be fetched using Entity Framework and then using a FOR EACH loop the Model items will be traversed and data will be displayed using HTML Table in ASP.Net Core Razor Pages.
17 Nov 2020 17 Nov 2020 0 Comments  452 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Entity Framework with existing Database in ASP.Net Core Razor Pages.

This article will explain how to configure Entity Framework and connect to the existing SQL Server database and retrieve the data in ASP.Net Core Razor Pages.
17 Nov 2020 17 Nov 2020 0 Comments  501 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use Entity Framework with Database First Approach in ASP.Net Core Razor Pages.

This article will explain how to configure Entity Framework and connect to SQL Server database and finally the fetched data is displayed in ASP.Net Core Razor Pages.
13 Nov 2020 13 Nov 2020 0 Comments  786 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert data into Database using Entity Framework in ASP.Net Core MVC.

When the Submit Button is clicked, the Form is submitted and the data from the fields i.e. TextBox and DropDownList is sent to Controller where it is inserted into SQL Server Database Table using Entity Framework in ASP.Net Core MVC.
Results 21 - 25 of 254