ASP.NET GridView samples and examples



You can make money from this site by posting original and quality articles that comply with Google AdSense policies.. Also, we offer several other reward programs including monthly profit sharing, cash rewards per post, contests & prizes etc to contributing members.

Submit Your Article

Articles

Filter gridview with textbox in Asp.net

In this article I'm going to explain how to filter GridView with TextBox in asp.net. For example GridView load huge data. Here is my requirement is to filter particular records based on name by entering into TextBox, let me show you how to achieve this.

Custom Paging for Gridview using SQL Server

In my previous article I'm explaining how to load data on demand without paging, but in this article I'm going to explain how to load data for particular page dynamically, for example in some scenarios we want to load huge data, usually what we are doing load all the records and display gridview and perform paging using default grid page options, but when we are looking performance and bandwidth the approach is not good, so that only we are moving forward that load fixed page records based on page size and

Load on demand data in Gridview using Jquery

In this article I'm going to explain how to load data on demand using Jquery. In some cases to improve the performance of application we are loading data on demand basis, rather than load all the records at a time, in this article I'm going to explain how to achieve this.

Scrollable GridView using JQuery

In this Artical i'm trying to explain about scrollable gridview with fixed Headers using JQuery. Why i'm introducing Fixed Headers means for reducing post back to the page and improve the performence of the page we introduce GridView with scrollable headers.

Read Excel Sheet Data and Display in Gridview by Using C# Coding

In these Article i'm trying to explain about "How to Read Data from Excel Sheet and Display Excel Data into Asp.net Gridview by using C# Coding". And also show how to manipulate excel sheet data in gridview control by using RowEditing Event and RowUpdateing Event in Gridview.

How to get Grid view control cell value in ASP.NET?

In this article I have explained get Gridview cell values using Template field Label control or Bound field. For example we have bind record details in the Grid View control, if users click the view details link button in the grid view we need to show the details in popup window without calling Database again. This can be possible using get grid view cell values.

How to show selected record from grid view to another page?

In this article I have explained about how to show selected record details from grid view into another page one page. In the second page we update the selected Record details. This article I used to transfer a primary key value using Query String option.

Popup window using Iframe

In this article I'm trying to explain how to open pop up window using iframe. Most of the people are facing some issue while open pop up with new page. Using Iframe we can achieve it by using simple simple Jquery code snippet.

Expandable GridView with simple JavaScript

In this article I'm trying to explain how to expand gridview when there is nested information with simple JavaScript code. Previously I post few articles for the same by using Jquery now I written by using JavaScript. This will help you those who are looking for the same.

Toggle Selection Checkbox inside Grid View

In this article I'm trying to explain how to select checkbox with only one at a time inside grid view. For this I just go with Jquery with simple steps to get the result. This article will help you those who are looking for the same.

How to Fix Grid View Height when there is few no of rows..?

In this article I'm trying to explain how to fix Grid View height when there are few records to bind. The default nature of grid view height is based on rows it will expand it automatically. But when there is limited no.of rows at that time also we need to fix the grid view height in some scenarios. This article will give you the brief description about how to fix grid view height.

How to Show Uploaded Images in Grid View?

In this article I have explained about how to show uploaded images in grid view control and also I have explained about how to use file upload control in this grid view row editing. For example if user uploaded image save that image in the server path and display in grid view with use image control, after that editing that image using file upload control in grid view edit item template. Learn How to Show Uploaded Images in Grid View?

Prepare controls to remove while exporting GridView to Excel

In this artical i'm trying to explain remove controls while exporting gridview data to excel. Previously we did export data to excel or some other formats but here i'm trying to explain in Grid Header having controls means i want to remove all those controls while exporting and then export to excel.

Gridview sorting and filtering

In this article I'm trying to explain how to sort and filter gridview data using DataView in ASP.net. using DefaultView of DataView you can able to get the result into DataView object. Now, I tried to explain how to sort and filter data with step by step.

How to pass Gridview Parameters to another page using HyperLinkField

In this article I'm trying to explain how to pass parameters from Gridview Control to another page. There is an inbuilt Template called as HyperLinkField using that Template and using DataNavigateUrlFields and DataNavigateUrlFormatString< properties we can achieve our goal easily.

Pagination in asp.net

In this article I am explaining How to implement paging in ASP.Net GridView control in a simple and easy way. This properties of the GridView come into play when Paging needs to be added. 1. PageSize - Sets the Size of the Page for GridView control 2. PageIndexChanging – The event that will be triggered when the page link is clicked by the user.

Submit Your Article