Click here to Skip to main content
15,891,993 members
Everything / Gridview

Gridview

Gridview

Great Reads

by Herre Kuijpers
Extending the standard ASP.NET GridView control to add a vertical scrollbar in the grid
by OriginalGriff
When I add a log reader, the size of the log can be huge, and get very slow to view. This makes the GridView do all the work of paging the data for you.
by Don Hoang
This post describes implementing ASP.NET Gridview using Bootstrap 4.
by Razi Syed
Easily bind a class to .NET data controls like GridView, FormView, etc., and get an updated object or list back in the code-behind effortlessly.

Latest Articles

by Telegram:@ArastoAhmadi
Tutorial to monitor database changes without using tools and by using a simpler trick
by Herre Kuijpers
Extending the standard ASP.NET GridView control to add a vertical scrollbar in the grid
by Don Hoang
This post describes implementing ASP.NET Gridview using Bootstrap 4.
by SagSD
Bootstrap pagination for gridview with CSS only

All Articles

Sort by Title

Gridview 

18 Jan 2013 by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
20 May 2014 by Nirav Prabtani
Bind gridview using Ajax post method and jQuery
17 Nov 2013 by Hazem Torab
Generate reasonable sample data for you GridView without using databases.
26 Sep 2014 by Sreedhar Puligundla
Creating custom control for gridview paging and page navigation
6 Jun 2013 by mohammad amiri
this tip discuss about showing datagridview data to crystal report using c#
26 Mar 2013 by Jawahar Suresh Babu
The article explains how to add variable sized tile items into WinRT GridView.
19 Jan 2011 by Awais Hafeez 86
Shows how to display an image (instead of simple text) in asp:HyperLinkField or asp:LinkButton column of a GridView
18 Jan 2011 by Not Active
Why not use a Template Column?
19 Jan 2011 by Venkatesh Mookkan
This would also work,
12 Jan 2019 by SagSD
Bootstrap pagination for gridview with CSS only
25 Sep 2013 by Member 10277780
How to create a grid in JavaScript
24 Mar 2010 by Indrajeet Sutar
May occasions we need to give Serial numbers to our grid like 1,2,3,4,5, this I have tried my hand for a while and what I found.....I have posted it in someones questions earlier. We can give alphabets also but its usage is limited so that part is omitted. (it is somewhat tedious...
7 Jul 2014 by Vishal.KumarSingh
Export Data from a Entity DataSource / GridView / Datatable in ASP.NET to Excel 2007(.xlsx) format with proper formatting and no warning messages
1 Jul 2016 by Vincent Maverick Durano
A quick example on how to implement GridView row highlighting and retain selected row on postbacks.
2 May 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
There will be one Link button in the GridView row. On clicking the Link button, the Image displayed in that row gets downloaded.
18 Jul 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Want to select the GridViewRow without Select button showing on the row. Just follow the steps mentioned in the tip.
26 Feb 2015 by DrABELL
Tip describes CSS3 formatting technique that allows to create web Table header, which always stays atop the table regardless of scrolling
8 Feb 2017 by Arun Chandrasekhara Pillai
Generic JqGrid implementation in MVC with custom filtering and dynamic sorting
12 Feb 2014 by Mithun Achar
GridView with DataPager in ASP.NET 4.0
30 Jun 2016 by Vincent Maverick Durano
A quick example on how to implement a dynamic cascading DropDownList within ASP.NET GridView control using JavaScript
27 Jun 2012 by Technoses
The above code will slow down the browser and the browser can hang when Rows in Grid will be 10000 or above.Please view the below suggestion:CS Codeprotected void grvGroups_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { ...
12 May 2010 by Nidhi P Bhargava
Suppose I want to display Address details in GridView but don't want to display AddressId then I will hide column that displays AddressId. GridView has CheckBox also to select Addresses. Now at runtime on click of button I want to get AddressId of all selected Addresses in that case if I use...
18 Jun 2010 by wouter vegter
Alternative way for 1B, this one is way faster :) : protected void btnSelect_Click(object sender, EventArgs e) { Button btn = (Button)sender; DataControlFieldCell dfc = (DataControlFieldCell)btn.Parent; GridViewRow gvr =...
11 Feb 2015 by DrABELL
3 different techniques of adding hyperlinked image to ASP.NET GridView in data-centric RIA
8 Mar 2010 by Neh.C
GridViewRow row = (GridViewRow)(((ImageButton)e.CommandSource).NamingContainer);int selIndex = row.RowIndex;
2 Jan 2010 by Aman Bhullar
Here I am posting code, which will read through a Excel Document. This code will traverse through all sheets of Excel spread sheet, No matter what name they will have.This uses OLEDB connection to read through excel sheets.using System.Data.OleDb;protected void Page_Load(object...
7 Oct 2011 by genious Developer
FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read);//1. Reading from a binary Excel file ('97-2003 format; *.xls)IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);//...//2. Reading from a OpenXml Excel file (2007 format;...
8 Sep 2022 by Telegram:@ArastoAhmadi
Tutorial to monitor database changes without using tools and by using a simpler trick
2 Jul 2014 by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
30 Oct 2011 by DrABELL
ASP.NET GridView control hosting another GridView in data-centric web applications
21 Dec 2011 by rj45
Pasting excel data into an asp.net gridview
21 Dec 2011 by Gopal Krishna Ranjan
Set Width of gridview columns dynamically when AutoGenerateColumns=“true”
7 Aug 2013 by Predrag Radic
Show only visible values in RadGridView filter popup.
8 Feb 2011 by OriginalGriff
When I add a log reader, the size of the log can be huge, and get very slow to view. This makes the GridView do all the work of paging the data for you.
17 Oct 2013 by Javier Tirado Pampín
This article talks about how to solve the filter problem in Telerik MVC Extensions control suite
19 Apr 2010 by Pavel Yermalovich
1. First we need to create two variables in ViewState to store current direction and expression:public string CurrentSortExpression { get { if (ViewState["sortExpression"] != null) { return...
5 Aug 2016 by Vincent Maverick Durano
A tip that demonstrates how to access GridView AutoGenerated Columns.
15 May 2013 by Ufulum
Sample of how to make a listview popup for editing a cell in a DataGridView.
31 Oct 2011 by Måns Tånneryd
How to get WPF ListBox items with the same look-and-feel as items in a WPF ListView.