Category - SQL Server
Results 16 - 20 of 399
17 Nov 2020 17 Nov 2020 0 Comments  147 Views
Here Mudassar Ahmed Khan has explained with an example, how to loop through Model properties using FOR EACH loop in ASP.Net Core MVC.

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

Then 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 Core MVC.
17 Nov 2020 17 Nov 2020 0 Comments  156 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  143 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  122 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  268 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 16 - 20 of 399