News in the Category: DataGrid Subscribe to the rss of this category.

Total posts: 307 | Sort by Views | Sort by Hits

How to place a DropDownList in DataGrid and fire SelectedIndexChanged for each row

The Code Project Latest Articles, April 4, 2007
Views: 7,408 | Hits 1,797

This Example explain how to place DropDownList in DataGrid and fire the DropDownList's SelectedIndexChanged event for every row according to selected item in DropDownList...

Freezing Datagrid Header/Columns Made Easy

ASP.NET Daily Articles, September 28, 2005
Views: 10,035 | Hits 1,449

You have already known how to make you long datagrid scrollable, however, when you scroll the grid, the header of the datagrid scrolls away. To make scrollable datagrid more user friendly, you may wan...

Creating DataGrid Filter Using Standard Controls

ASPAlliance.com - The #1 ASP.NET Community, September 27, 2006
Views: 8,698 | Hits 1,426

In this article Nidal demonstrates how to create a DataGrid filter using TextBox and ComboBox....

Displaying drill down rows in datagrid

The Code Project Latest Articles, August 30, 2006
Views: 8,715 | Hits 1,422

Displaying drill down rows in datagrid...

Export Datagrid/Datatable to excel

The Code Project Latest Articles, July 30, 2007
Views: 9,620 | Hits 1,350

Article presents a library class that exports a given datagrid or datatable to excel...

Inserting multiple records at once with the ASP.NET DataGrid control (Part Two)

ASP.NET Daily Articles, July 19, 2005
Views: 6,903 | Hits 1,218

This article demonstrates how you can use an ASP.NET DataGrid control to insert multiple records consisting of multiple fields into a SQL Server database table in one operation. Collection objects, a ...

A Filter Dialog for a DataGridView

The Code Project Latest Articles, September 28, 2006
Views: 7,110 | Hits 1,177

This is a dialog window that allows filtering a datagridview. It can build filters with any depth of parentheses....

Custom DataGrid Numeric Paging with Previous,Next, First & Last link

ASP.NET Daily Articles, April 30, 2007
Views: 5,771 | Hits 1,172

Some application do require custom paging style like numeric paging with links for previous, next, first, and last pages. The DataGrid did not directly support this type of layout; that's why I have d...

Tweaking DataGridView Column Header Text Angles

TheChaseMans Frenetic SoapBox, February 19, 2006
Views: 8,620 | Hits 1,132

Ever wanted to create a DataGridView for WinForms that allowed you to rotate the angle of the column header text? CustomDataGrid grid = new CustomDataGrid();grid.Font = new System.Drawing.Font(&q...

Enhancing the DataGrid with Grouped Rows and Subheadings

ASPAlliance.com - The #1 ASP.NET Community, September 21, 2005
Views: 4,913 | Hits 1,095

The ASP.NET DataGrid control provides no methods by which to group related items. Michelle Beall presents three simple techniques to enhance a DataGrid by grouping related rows and adding subheadings....

Collapsible Data Grid

The Code Project Latest Articles, April 4, 2007
Views: 6,692 | Hits 1,085

How to Create Collapsible Data Grid...

Using DataGridView Column Types

BinaryIntellect.net :: The .NET Code Gallery, June 9, 2006
Views: 9,213 | Hits 1,043

In Windows Forms 2.0 the new DataGridView control enhances the DataGrid control of 1.x. You can now add various column types such as TextBox, Button, CheckBox, HyperLink, ComboBox and Image. This samp...

An ASP.NET DataGrid Custom Control to Freeze Header, Rows, Columns just changing single Attribute value

The Code Project Latest Articles, February 20, 2006
Views: 6,682 | Hits 1,025

A ASP.net DataGrid Custom Control which allows freezing of header, columns, rows in a DataGrid just changing a single attribute value. It is inherited from .net DataGrid therefore all features of exis...

Create a Custom DataGridView Column

DevX: .NET Feed, August 13, 2007
Views: 5,826 | Hits 1,006

Creating custom column types for the DataGridView control isn't nearly as tricky as it once was....

Creating Dynamic Bound and Template columns in DataGrid

ASP.NET Daily Articles, July 18, 2005
Views: 5,406 | Hits 997

We are all familiar with Datagrid control's bound and template column. Usually we build columns using property builder. In this article I will show that how you can programmatically create bound and t...

Better DataGrid Column Header ToolTips

The Code Project Latest Articles, June 15, 2006
Views: 7,120 | Hits 945

Provides a technique to implement column header tooltips in a datagrid...

Editable Nested DataGrid

The Code Project Latest Articles, October 12, 2006
Views: 6,047 | Hits 936

Fully Editable Nested DataGrid with Add, Edit, Update and Delete features on both Parent and Child grids....

Adding click event to rows in a DataGrid

The Code Project Latest Articles, July 11, 2006
Views: 6,262 | Hits 858

A simple way to select a datgrid row by clicking it...

A Simple DataGrid Row Tooltip For Beginners.

The Code Project Latest Articles, September 14, 2006
Views: 5,998 | Hits 777

A simple DataGrid Row Tooltip for beginners....

Hierarchical data in the DataGrid

MrDaves (David Yack) Blog!, July 16, 2005
Views: 7,062 | Hits 758

One of the questions I got last night in my ADO.NET talk was if there was a way with the  DataGrid in ASP.NET to load a dataset and show multiple tables that were related like the Windows Fo...

Nested Repeaters to display nested data

ASP.NET Daily Articles, June 24, 2006
Views: 4,637 | Hits 755

In this article we will see that how we can use the nested repeaters to display information in a categorized way. We will use the Northwind database and will learn to display the information in the Ca...

Efficient Data Paging with the ASP.NET 2.0 DataList Control and ObjectDataSource

ScottGus Blog, January 7, 2006
Views: 6,380 | Hits 718

Last weekend I posted about how to implement super efficient data-paging using the new ROW_FUNCTION() within SQL 2005 (which is supported with the free SQL Express edition and up) and the new ASP.NET ...

DataGrid Paging and Sorting Using A DataReader

ASP.NET Daily Articles, February 6, 2006
Views: 4,038 | Hits 703

This article will demonstrate two ways one could implement the DataReader to bind a DataGrid, that includes caching, paging and persistent bi-directional sorting, all without the use of a DataAdapter/...

Easy "NO SCRIPT" DataGrid Tooltips in ASP.NET

ASP.NET Daily Articles, November 29, 2005
Views: 4,232 | Hits 701

A frequent request I've seen here and elsewhere in my travels is the ability to add "tooltips" to various ASP.NET controls. There are a number of solutions to this, usually involving some heavy-duty...

Export a GridView to Excel...

DotNetJohn.Com, February 27, 2007
Views: 5,035 | Hits 693

A couple of years ago we presented an article on exporting DataGrids to Excel. This is an updated article demonstrating one way to export a GridView to Excel....

Repeater within Gridview in C# ASP.NET 2.0

The Code Project Latest Articles, June 25, 2008
Views: 5,937 | Hits 682

This article discusses binding a gridview/repeater control from a dataset using a stored procedure...

Creating a Templated User Control

The Code Project Latest Articles, December 2, 2007
Views: 4,762 | Hits 676

This article explains how to create your own repeater, with templates....

ASP.NET CheckBox Command in DataView or Repeater

The Code Project Latest Articles, March 9, 2007
Views: 5,515 | Hits 674

Describes a very simple way on how to use a CheckBox in a GridView or Repeater in a manner similar to a Button....

Dynamic GridView and DataList in ASP.NET 2.0

ASPAlliance.com - The #1 ASP.NET Community, January 29, 2008
Views: 5,553 | Hits 667

Sometimes we may be required to build GridView and DataList dynamically with different styles and with child controls in our project. This article will help you accomplish this task in ASP.NET 2.0 wit...

Exporting Datagrid to Excel, Word and Text Files

ASP.NET Daily Articles, June 30, 2005
Views: 6,365 | Hits 662

Datagrid is one of the most coolest controls in the Asp.net. One thing that all developers need is to put the data grid data into excel sheet. In this article I will show you that how you can export y...

Weird DataGrid Paging Error with Last Page Selection

Rick Strahls WebLog, January 2, 2008
Views: 2,977 | Hits 661

This is one posts of an oddball problem I've run into where I feel like I 'shoulda known' but just didn't for - way too long <g>. I have a form in my West Wind Web Store with a DataGrid on it. Y...

CodeSnip: Export a DataGrid to a Formatted Excel Spreadsheet

ASPAlliance.com - The #1 ASP.NET Community, October 3, 2005
Views: 3,229 | Hits 659

In this code snippet, Sameer Lal provides the simple code necessary to export a DataGrid to an Excel spreadsheet, which allows the user to work with the data on his or her own computer. The Excel spre...

3 Ways to Show Arrow-Up/Down in Heading of Sorted Datagrid

ASP.NET Daily Articles, August 22, 2005
Views: 2,554 | Hits 642

There are many ways to display arrow-up and arrow-down image in the header of a datagrid when it is sorted. In this article, you will see 3 ways to implement this, using CSS style sheet, using image c...

ASP.NET DataGrid Template Columns with Image Button - Master Details View - Part II

GotDotNet: New resources, November 8, 2005
Views: 5,182 | Hits 621

This article discusses how we can have an Image Button within DataGrid Template Columns and provide a Master - Details View for Edit / Update / Delete operations in a DataGrid....

DataGridView: how to bind nested objects

ASP.NET Announcements, July 28, 2007
Views: 10,654 | Hits 616

I've posted an article describing how to bind nested objects in a custom collection to a DataGridView. The article is available here: http://www.developer-corner.com/Resources/KnowledgeBase/tabid/...

SumColumn: A Custom DataGrid Column that automatically shows the sum/total in DataGrid Footer.

The Code Project Latest Articles, February 15, 2006
Views: 4,389 | Hits 612

A normal requirement in any asp.net application is to sum up the values in a DataGrid column to the footer. In this article we will compare the normal methods and later create our own custom DataGrid ...

Display Images in DataGrid Directly from Memory with no Http handler

ASP.NET Daily Articles, October 10, 2005
Views: 4,437 | Hits 589

You can find a number of solutions around that illustrate techniques for displaying images from a database in your DataGrid or other databound control, but they almost universally resort to the trick ...

Displaying Data with the DataList and Repeater Controls

ASP.NET Daily Articles, September 16, 2006
Views: 2,590 | Hits 585

In the preceding tutorials we have used the GridView control to display data. Starting with this tutorial, we look at building common reporting patterns with the DataList and Repeater controls, starti...

Formatted vertical DataGrid web control

The Code Project Latest Articles, April 20, 2006
Views: 4,368 | Hits 569

Quickly create a bound table with column headers displayed vertically....

Datagrid to GridView Conversion: No Invisible Columns

GridViewGirl, November 9, 2005
Views: 4,506 | Hits 564

One thing that is tripping up some people who are upgrading their VS 2003 Datagrid code to use theVS 2005 GridView is that invisible columns can no longer be used for passing data around. ...

Runtime Grid with Multiple DataSource

The Code Project Latest Articles, September 10, 2007
Views: 4,582 | Hits 553

This article describes how to create the DataGrid while runtime according to the tables available in the Dataset....

SumColumn: Custom DataGrid Column that automatically shows Sum/Count/Average in DataGrid Footer.

EggHeadCafe.com New Articles, December 7, 2007
Views: 3,243 | Hits 543

A normal requirement in any ASP.Net application is to sum/average up the values in a DataGrid column to the Footer. In this article we will compare the normal methods and later create our own custom D...

using cache to store Data in datatable for custom paging with Datalist, Repeater or Datagrid

The Code Project Latest Articles, June 2, 2006
Views: 3,986 | Hits 541

In this article, I ll show you how to cache data to use with DataList/Repeater/Datagrid controls for custom paging and better performance...

Using DataGridView Column Types

DotNetJunkies Just Published, June 10, 2006
Views: 5,177 | Hits 533

In Windows Forms 2.0 the new DataGridView control enhances the DataGrid control of 1.x. You can now add various column types such as TextBox, Button, CheckBox, HyperLink, ComboBox and Image. This samp...

ASP.NET Tip: Creating Paging for a Repeater Control

ASP.NET Daily Articles, January 16, 2007
Views: 3,566 | Hits 531

How do I implement paging within a Repeater control, you ask? Simple: Roll your own paging solution....

Ajax DataGrid(with client-side paging ) at glance

The Code Project Latest Articles, March 12, 2006
Views: 3,821 | Hits 480

Genric Ajax library(fill textbox,dropdown,datagrid)...

Cast from type 'DBNull' to type 'String' is not valid.

Sonu Kapoors WebLog, December 21, 2004
Views: 5,467 | Hits 478

I have seen this question many times in the ASP.NET forums and thought that it would be a good idea to blog about. When you are working with functions in the HTML of your DataGrid and passing the valu...

ASP.NET DataGrid Template Columns with Image Button - Master Details View - Part I

GotDotNet: New resources, November 8, 2005
Views: 4,044 | Hits 475

This article discusses one of the ways in which you can add Image Buttons to your template columns to give the Rich Edit/Update/Delete look to the DataGrid and have a Master-Details View....

Export DataGrid/GridView to Excel

Al Pascual, November 26, 2007
Views: 5,320 | Hits 463

Got to my attention the code on this old post is all screw up, please find the right version below. /// <summary> /// Summary description for ExportToExcel. /// </summary> p...

Make your datagrid perform like an excel sheet by navigating through textboxes with the arrow keys

The Code Project Latest Articles, September 5, 2006
Views: 3,042 | Hits 451

Make your datagrid perform like an excel sheet by navigating through textboxes with the arrow keys...