Category - Razor Pages
Results 21 - 40 of 160
06 Dec 2022 06 Dec 2022 0 Comments  1091 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  1483 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  1205 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  1200 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 2 Comments  3116 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  2091 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  1478 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  1581 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  1957 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  958 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  2234 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  1218 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  710 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  1369 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  1412 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  676 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  789 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  1205 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  672 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  835 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 21 - 40 of 160