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

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

ASP .NET Datagrid with scrollbars and fixed headers

Clarity Blogs: ASP.NET, February 23, 2006
Views: 21,784 | Hits 146

Hi, I recently needed to create a datagrid in ASP .NET pages whose data was not autogenerated (read my previous blogs about my adventures in it). I did not want to add paging to my datagrid but t...

WPF DataGrid Custom Paging and Sorting

EggHeadCafe.com New Articles, September 27, 2009
Views: 11,554 | Hits 51

This article shows how to implement custom paging and sorting on a WPF DataGrid.  read moreBy Michael Detras...

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/...

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...

DataBinding with user control as a template

Jotekes Blog, July 6, 2006
Views: 9,782 | Hits 325

This one was originally asked on Forums. You can provide a user control into ItemTemplate property of DataList in code, and use it as a reusable template while the uc still participates in databinding...

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...

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...

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...

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....

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...

Customizing columns in ASP.Net DataGrids

Clarity Blogs: ASP.NET, February 14, 2006
Views: 8,047 | Hits 49

   Working with datagrids can be fun and interesting and sometimes challenging too. Everything is fine as long as you are using the basic features of Datagrid and generating the columns...

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...

Extending the GridView to Include Sort Arrows

4GuysFromRolla.com Headlines, January 23, 2008
Views: 7,297 | Hits 87

Before ASP.NET version 2.0 was released, I wrote a book and dozens of articles on the DataGrid control, which was the most functional data Web control in the ASP.NET 1.x toolbox. While the DataGrid...

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...

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....

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...

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 ...

Collapsible Data Grid

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

How to Create Collapsible Data Grid...

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...

Access Headertemplate and FooterTemplate of a Repeater in code

Jotekes Blog, June 5, 2007
Views: 6,496 | Hits 97

Asked on Forums. Point is that say you have a Repeater like this:<asp:Repeater ID="Repeater1" runat="server">           ...

WPF Datagrid

Guy Barrettes WebLog, August 19, 2008
Views: 6,434 | Hits 222

Microsoft has released a WPF Datagrid.  What's interesting is that both binaries and source code are available on Codeplex. Jaime Rodriguez has 3 blog posts on the topic:http://blogs.gotdotnet.co...

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 ...

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...

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...

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....

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....

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...

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....

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...

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...

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....

ASP.NET DataList Databinding

Wallace B. McClure, July 20, 2006
Views: 5,471 | Hits 291

Original Post: http://morewally.com/cs/blogs/wallym/archive/2006/07/20/191.aspxI have recently been writing a new feature for an ASP.NET 1.1 application.  In it, I have a datalist which I bind da...

WPF DataGrid as ComboBox Dropdown

EggHeadCafe.com New Articles, August 31, 2009
Views: 5,468 | Hits 11

This article describes how to display the items of a WPF ComboBox inside a DataGrid when the ComboBox is clicked. It also shows how to make the behavior same as that of a normal ComboBox, like clickin...

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...

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...

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...

Check and Uncheck all Checkbox inside datagrid easily

The Code Project Latest Articles, May 26, 2009
Views: 5,241 | Hits 337

Using this piece of code we can easily check and uncheck the checkbox within a grid...

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....

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...

Handling Large Data Sets in Silverlight using WCF and Customized DataGrids

The Code Project Latest Articles, April 5, 2010
Views: 5,144 | Hits 141

Display, edit and save large data sets in Silverlight using WCF based services and customized DataGrids...

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....

Custom Editing Behavior for DataGridView TextBox Columns

Roland Weigelt, February 12, 2007
Views: 4,970 | Hits 394

I’m currently working on a hobby project where I’m displaying a list of files in a way similar to the “details” view of Windows Explorer. For various reasons I’m&nbs...

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....

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....

A Simple Way for Paging in DataGridView in WinForm Applications

The Code Project Latest Articles, June 15, 2011
Views: 4,722 | Hits 77

An easy way for paging DataGridView...

Remember IsPostBack check with databound controls to avoid "Invalid postback or callback argument" error

Jotekes Blog, August 27, 2006
Views: 4,677 | Hits 178

If you face this error: Invalid postback or callback argument error too often when working with databound controls. For example scenario like this<asp:Repeater ID="Repeater1" runat="...

Issue Binding Custom IList to DataList

Jason N. Gaylords Blog, May 11, 2005
Views: 4,659 | Hits 210

I had an issue this week binding a custom IList to a DataList. I struggled with this one because a was able to bind directly to a DataGrid. I knew that DataGrids bind differently than DataLists, but f...

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...

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....

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. ...