Category - GridView
Results 1 - 20 of 518
12 Nov 2022 12 Nov 2022 0 Comments  540 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  478 Views
Here Mudassar Khan has explained with an example, how to export (Grid) GridView to HTML File (HTML String) in ASP.Net Core MVC.

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 Controller which will be exported to HTML (.htm) file in ASP.Net Core MVC.
12 Nov 2022 12 Nov 2022 0 Comments  455 Views
Here Mudassar Khan has explained with an example, how to export (Grid) GridView to HTML File (HTML String) in ASP.Net MVC Razor.

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 Controller which will be exported to HTML (.htm) file in ASP.Net MVC Razor.
22 Oct 2022 22 Oct 2022 0 Comments  803 Views
Here Mudassar Khan has explained with an example, how to export Grid (GridView) to Excel file using jQuery in ASP.Net Core Razor Pages.

The Grid (GridView) will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net Core Razor Pages.
22 Oct 2022 22 Oct 2022 0 Comments  717 Views
Here Mudassar Khan has explained with an example, how to export Grid (GridView) to Excel file using jQuery in ASP.Net Core MVC.

The Grid (GridView) will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net Core MVC.
21 Oct 2022 21 Oct 2022 0 Comments  616 Views
Here Mudassar Khan has explained explain with an example, how to export Grid (GridView) to Excel file using jQuery in ASP.Net MVC Razor.

The Grid (GridView) will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net MVC Razor.
17 Jun 2022 17 Jun 2022 0 Comments  1879 Views
ASP.Net  AJAX  GridView  MVC  Grid  ReactJS
Here Mudassar Khan has explained with an example, how to populate Grid (GridView) using ReactJS and AJAX in ASP.Net MVC.

This article will make use of ASP.Net MVC and ReactJS.Net as backend.
21 Jan 2022 21 Jan 2022 0 Comments  4896 Views
Here Mudassar Khan has explained with an example, how to get the ID of Button inside ASP.Net GridView when clicked using JavaScript.

When the Button is clicked, a JavaScript function is called and the ID will be fetched and displayed using JavaScript Alert Message Box.
19 Jan 2022 19 Jan 2022 0 Comments  4841 Views
Here Mudassar Khan has explained with an example, how to get the ID of Button inside ASP.Net GridView when clicked using jQuery.

When the Button is clicked, a jQuery Click event handler will be called and the ID will be fetched and displayed using JavaScript Alert Message Box.
17 Jul 2021 17 Jul 2021 0 Comments  7350 Views
Here Mudassar Ahmed Khan has explained with an example, how to use NULL Parameters with SqlDataSource and how to pass NULL parameters to StoredProcedure using SqlDataSource in ASP.Net.

In this article, a GridView will be populated and filtered using a StoredProcedure and SqlDataSource in ASP.Net.
17 Aug 2020 17 Aug 2020 0 Comments  33428 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Grid (GridView) in ASP.Net Core Razor Pages.

The data from the SQL Server Database Table will be fetched using Entity Framework and finally the fetched data is displayed in Grid (GridView) format using Model in ASP.Net Core Razor Pages.
06 Aug 2020 19 Apr 2021 0 Comments  10597 Views
Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Button will be referenced and then JavaScript function will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Button is clicked, the JavaScript function will be called in ASP.Net using C# and VB.Net.
06 Aug 2020 06 Aug 2020 0 Comments  18242 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Delete Confirmation Box with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Delete Button will be referenced and then JavaScript Confirmation Box will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Delete Button is clicked, the JavaScript Confirmation Box will be displayed in ASP.Net using C# and VB.Net.
06 Aug 2020 06 Aug 2020 0 Comments  8991 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Delete Confirmation Box with RowCommand in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Delete Button will be referenced and then JavaScript Confirmation Box will be assigned to its Client Side OnClick event handler in ASP.Net using C# and VB.Net.

Thus when the RowCommand event is triggered, the JavaScript Confirmation Box will be displayed in ASP.Net using C# and VB.Net.
30 Jun 2020 30 Jun 2020 0 Comments  51014 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Paging (Pagination) in ASP.Net Core MVC.

Paging (Pagination) will be implemented using Entity Framework in ASP.Net Core MVC.
08 May 2020 08 May 2020 0 Comments  22392 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Excel File (xls & xlsx) data in ASP.Net using C# and VB.Net.

When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control.

Using ClosedXml library, the Excel file data can be easily read from the InputStream property and displayed on Web Page using GridView in ASP.Net using C# and VB.Net.
15 Apr 2020 15 Apr 2020 0 Comments  15380 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate jQuery DataTable using WebMethod (PageMethod) and AJAX in ASP.Net with C# and VB.Net.

First a jQuery AJAX call will be made to a WebMethod (PageMethod) on Server Side and the WebMethod (PageMethod) will return the Data in JSON format.

Finally, the returned JSON data will be used on Client Side to populate the jQuery DataTable in ASP.Net with C# and VB.Net.
10 Apr 2020 10 Apr 2020 2 Comments  36961 Views
Here Mudassar Ahmed Khan has explained with an example, how to display from Database Table in GridView (Grid) format in ASP.Net Core MVC.

The data from the SQL Server Database Table will be fetched using Entity Framework and finally the fetched data is displayed in Grid (GridView) format in ASP.Net Core MVC.
19 Mar 2020 19 Mar 2020 0 Comments  28659 Views
Here Mudassar Ahmed Khan has explained with an example, how to add new Row to existing DataTable using C# and VB.Net.
19 Dec 2019 19 Dec 2019 0 Comments  13679 Views
Here Mudassar Ahmed Khan has explained with an example, how to store (save) Temporary data in GridView in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the data from the TextBoxes will be inserted into a DataTable which will be stored (saved) in ViewState and later used to populate the GridView in ASP.Net using C# and VB.Net.
Results 1 - 20 of 518