Category - Razor Pages
Results 1 - 20 of 140
06 Dec 2022 06 Dec 2022 0 Comments  41 Views
Here Mudassar Khan has explained with an example, how to populate (bind) WebGrid using ADO.Net in ASP.Net Core Razor Pages.

Inside the Razor PageModel, the records from the Database Table will be fetched using traditional ADO.Net method i.e. using SqlConnection, SqlCommand, SqlDataAdapter, etc.

The fetched records will be populated into a DataSet which will be used to populate the WebGrid in ASP.Net Core Razor Pages.
05 Dec 2022 05 Dec 2022 0 Comments  125 Views
Here Mudassar Khan has explained with an example, how to use MVC6 Grid in ASP.Net Core Razor Pages.
05 Dec 2022 05 Dec 2022 0 Comments  114 Views
Here Mudassar Khan has explained with an example, how to populate (bind) WebGrid using Stored Procedure and Entity Framework in ASP.Net Core Razor Pages.

The Stored Procedure will be called using Entity Framework in ASP.Net Core Razor Pages.
30 Nov 2022 30 Nov 2022 0 Comments  214 Views
Here Mudassar Khan has explained with an example, how to pass (send) parameter to Stored Procedure in ASP.Net Core Razor Pages.

The Stored Procedure is called with parameter using the FromSql function of Entity Framework in ASP.Net Core Razor Pages.
30 Nov 2022 30 Nov 2022 0 Comments  226 Views
Here Mudassar Khan has explained with an example, how to use Stored Procedure in ASP.Net Core Razor Pages.

The Stored Procedure is called using the FromSql function of Entity Framework in ASP.Net Core Razor Pages.
29 Nov 2022 29 Nov 2022 0 Comments  284 Views
Here Mudassar Khan has explained with an example, how to validate HTML Form using jQuery Validation plugin in ASP.Net Core Razor Pages.

This article makes use of jQuery ValidationEngine plugin for performing validation.

jQuery ValidationEngine plugin will perform validation for various Form fields like TextBox, DropDownList, etc. and the type of validations involved would be Required, Email, Password confirmation, Minimum and Maximum Length, Telephone number, Mobile Cell number, Date Format such as dd/MM/yyyy dates.
26 Nov 2022 26 Nov 2022 0 Comments  346 Views
Here Mudassar Khan has explained with an example, how to export data from database to PDF file in ASP.Net Core Razor Pages.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to PDF file using itext7.pdfhtml library in ASP.Net Core Razor Pages.
26 Nov 2022 26 Nov 2022 0 Comments  295 Views
Here Mudassar Khan has explained with an example, how to export HTML string to PDF file in ASP.Net Core Razor Pages.

The data from database will be populated in HTML Table using Entity Framework in ASP.Net Core Razor Pages.

Finally, the HTML Table will be exported and downloaded as PDF file using itext7.pdfhtml library in ASP.Net Core Razor Pages.
25 Nov 2022 25 Nov 2022 0 Comments  352 Views
Here Mudassar Khan has explained with an example, how to export data from database to CSV file in ASP.Net Core Razor Pages.

The data from the database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated using StringBuilder class.

Finally, the generated string will be exported to CSV file in ASP.Net Core Razor Pages.
22 Nov 2022 22 Nov 2022 0 Comments  352 Views
Here Mudassar Khan has explained with an example, how to export data from database to Word document in ASP.Net Core Razor Pages.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to Word document in ASP.Net Core Razor Pages.
19 Nov 2022 05 Dec 2022 0 Comments  631 Views
Here Mudassar Khan has explained a step by step tutorial with an example, how to use WebGrid in ASP.Net Core Razor Pages.

This article will explain how to implement WebGrid with Entity Framework and also display specific columns in WebGrid in ASP.Net Core Razor Pages.

The WebGrid will be implemented using the MVC6 Grid library in ASP.Net Core Razor Pages.
18 Nov 2022 18 Nov 2022 0 Comments  395 Views
Here Mudassar Khan has explained with an example, how to export HTML string to Excel file in ASP.Net Core Razor Pages.

First, the HTML Table will be populated from database using Entity Framework and then the HTML Table will be sent as HTML string to the Razor PageModel which will be exported to Excel file in ASP.Net Core Razor Pages.
15 Nov 2022 15 Nov 2022 0 Comments  457 Views
Here Mudassar Khan has explained with an example, how to export data from database to HTML file in ASP.Net Core Razor Pages.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to HTML (.htm) file in ASP.Net Core Razor Pages.
12 Nov 2022 12 Nov 2022 0 Comments  592 Views
Here Mudassar Khan has explained with an example, how to export (Grid) GridView to HTML File (HTML String) in ASP.Net Core Razor Pages.

First, the Grid (GridView) will be populated from database using Entity Framework and then the generated HTML Table of Grid (GridView) will be sent as HTML string to the Razor PageModel which will be exported to HTML (.htm) file in ASP.Net Core Razor Pages.
12 Nov 2022 12 Nov 2022 0 Comments  706 Views
Here Mudassar Khan has explained with an example, how to use the FileResult return type in ASP.Net Core Razor Pages.

The FileResult return type is used to return a File from the Razor PageModel in ASP.Net Core Razor Pages.
10 Nov 2022 10 Nov 2022 0 Comments  462 Views
Here Mudassar Khan has explained with an example, how to perform US Mobile Number validation on Server Side using Data Annotation in ASP.Net Core Razor Pages.

The US Mobile Number validation will be performed using Regular Expression (Regex) in ASP.Net Core Razor Pages.
10 Nov 2022 10 Nov 2022 0 Comments  443 Views
Here Mudassar Khan has explained how to perform US Mobile Number validation on Client Side using Data Annotation in ASP.Net Core Razor Pages.

The US Mobile Number validation will be performed using Regular Expression (Regex) in ASP.Net Core Razor Pages.
04 Nov 2022 04 Nov 2022 0 Comments  688 Views
Here Mudassar Khan has explained with an example, how to use table2excel jQuery plugin in ASP.Net Core Razor Pages.

This article will explain how to convert (export) HTML Table to Excel file using the jQuery table2excel plugin in ASP.Net Core Razor Pages.
28 Oct 2022 28 Oct 2022 0 Comments  495 Views
Here Mudassar Khan has explained with an example, how to perform Indian Mobile Number validation on Server Side using Data Annotation in ASP.Net Core Razor Pages.

The Indian Mobile Number validation will be performed using Regular Expression (Regex) in ASP.Net Core Razor Pages.
27 Oct 2022 27 Oct 2022 0 Comments  522 Views
Here Mudassar Khan has explained with an example, how to perform Indian Mobile Number validation on Client Side using Data Annotation in ASP.Net Core Razor Pages.

The Indian Mobile Number validation will be performed using Regular Expression (Regex) in ASP.Net Core Razor Pages.
Results 1 - 20 of 140