Category - ASP.Net
Results 16 - 20 of 2332
21 Nov 2020 21 Nov 2020 0 Comments  237 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList using ADO.Net in ASP.Net Core Razor Pages.

The records from the Database will be fetched from Database Table using ADO.Net into Model class object and then the Model is used to populate the DropDownList using the new ASP.Net Tag Helpers in ASP.Net Core Razor Pages.
21 Nov 2020 21 Nov 2020 0 Comments  240 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and displaying in DropDownList in ASP.Net MVC Core.

The records from the SQL Server Database will be retrieved from Table using ADO.Net into Model class object and then the Model is used to display the data in the DropDownList in ASP.Net Core MVC.
21 Nov 2020 21 Nov 2020 0 Comments  199 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Auto Increment Primary Key with Entity Framework Database First using C# in ASP.Net MVC Razor.

When the Form is submitted, the value of the submitted Form fields will be fetched using Entity Framework Model class object and will be inserted into database using Entity Framework. After successful insert, the ID of the last inserted record fetched using SCOPE_IDENTITY will be displayed using JavaScript Alert Message Box.
20 Nov 2020 20 Nov 2020 0 Comments  188 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Web API from another Project in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will fetch records from the SQL Server Database using Entity Framework in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will be called using WebClient class from another MVC Project using the Web API URL.
19 Nov 2020 19 Nov 2020 0 Comments  307 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Web API in ASP.Net C# with SQL server database in ASP.Net MVC Razor.

The Web API Controller method will fetch records from SQL server database using Entity Framework in ASP.Net MVC Razor.
Results 16 - 20 of 2332