Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Gridview

Gridview

Gridview

Great Reads

by Gagey1971
A simple .NET control to display the 'standard' 13x13 grid for two card poker hands.
by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
by Declan Bright
A technique which ensures that an ASP.NET GridView displays nicely on small screen devices.
by ASP.NET Community
Learn how to extend your ASP.NET AJAX applications using the ASP.NET AJAX Control Toolkit. ASP.NET AJAX Control Toolkit: Installation and getting

Latest Articles

by Gagey1971
A simple .NET control to display the 'standard' 13x13 grid for two card poker hands.
by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
by Declan Bright
A technique which ensures that an ASP.NET GridView displays nicely on small screen devices.
by ASP.NET Community
Learn how to extend your ASP.NET AJAX applications using the ASP.NET AJAX Control Toolkit. ASP.NET AJAX Control Toolkit: Installation and getting

All Articles

Sort by Score

Gridview 

by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
by Nirav Prabtani
Bind gridview using Ajax post method and jQuery
by Hazem Torab
Generate reasonable sample data for you GridView without using databases.
by Sreedhar Puligundla
Creating custom control for gridview paging and page navigation
by mohammad amiri
this tip discuss about showing datagridview data to crystal report using c#
by VijayRana
Retrieve value from database and bind to gridview
by Jawahar Suresh Babu
The article explains how to add variable sized tile items into WinRT GridView.
by Awais Hafeez 86
Shows how to display an image (instead of simple text) in asp:HyperLinkField or asp:LinkButton column of a GridView
by Not Active
Why not use a Template Column?
by Venkatesh Mookkan
This would also work,
by SagSD
Bootstrap pagination for gridview with CSS only
by Member 10277780
How to create a grid in JavaScript
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...
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
by Vincent Maverick Durano
A quick example on how to implement GridView row highlighting and retain selected row on postbacks.
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.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Want to select the GridViewRow without Select button showing on the row. Just follow the steps mentioned in the tip.
by DrABELL
Tip describes CSS3 formatting technique that allows to create web Table header, which always stays atop the table regardless of scrolling
by Arun Chandrasekhara Pillai
Generic JqGrid implementation in MVC with custom filtering and dynamic sorting
by Mithun Achar
GridView with DataPager in ASP.NET 4.0
by Vincent Maverick Durano
A quick example on how to implement a dynamic cascading DropDownList within ASP.NET GridView control using JavaScript
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) { ...
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...
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 =...
by DrABELL
3 different techniques of adding hyperlinked image to ASP.NET GridView in data-centric RIA
by Neh.C
GridViewRow row = (GridViewRow)(((ImageButton)e.CommandSource).NamingContainer);int selIndex = row.RowIndex;
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...
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;...
by Telegram:@ArastoAhmadi
Tutorial to monitor database changes without using tools and by using a simpler trick
by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
by DrABELL
ASP.NET GridView control hosting another GridView in data-centric web applications
by rj45
Pasting excel data into an asp.net gridview
by Gopal Krishna Ranjan
Set Width of gridview columns dynamically when AutoGenerateColumns=“true”
by Predrag Radic
Show only visible values in RadGridView filter popup.
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 Javier Tirado Pampín
This article talks about how to solve the filter problem in Telerik MVC Extensions control suite
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...
by Ivan Tsurkan
Sudoku Generator
by Vincent Maverick Durano
A tip that demonstrates how to access GridView AutoGenerated Columns.
by Ufulum
Sample of how to make a listview popup for editing a cell in a DataGridView.
by Måns Tånneryd
How to get WPF ListBox items with the same look-and-feel as items in a WPF ListView.