Category - MVC
Results 16 - 20 of 533
09 Mar 2020 09 Mar 2020 0 Comments  614 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ConfigurationManager.ConnectionStrings in .Net Core and ASP.Net MVC Core.

Microsoft has replaced ConfigurationManager.ConnectionStrings class of System.Configuration namespace with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 0 Comments  438 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Connection String from AppSettings.json file in .Net Core and ASP.Net MVC Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.
03 Mar 2020 03 Mar 2020 0 Comments  609 Views
Here Mudassar Ahmed Khan has explained with an example, how to set selected value of DropDownList from Model (Database) using Entity Framework in ASP.Net MVC Razor.

Initially, the DropDownList will be populated from Database using Entity Framework and then the DropDownList item to be displayed as Selected will be set in Model and finally the Model will be used to populate the DropDownList in ASP.Net MVC Razor.
02 Mar 2020 02 Mar 2020 0 Comments  414 Views
ASP.Net  jQuery  MVC  Label
Here Mudassar Ahmed Khan has explained with an example, how to set Label value using jQuery in ASP.Net MVC Razor.

This article will illustrate how to access and set value of Label element created using Html.Label and Html.LabelFor helper functions in ASP.Net MVC Razor.
14 Feb 2020 14 Feb 2020 0 Comments  1533 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the IFormFile interface in ASP.Net Core MVC.

The IFormFile interface is used for uploading Files in ASP.Net Core MVC.
Results 16 - 20 of 533