Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2005, 07:42 AM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default need help in Datagrid formatting

I need a datagrid that has 4 columms & 2 rows.
Each cell in that datagrid will represent one row from my database table.
I also need to use paging with that datagrid.

can someone plz giv me some sample code for that ?
or any tips on how to achieve the same ??

Thanx
 - Prasadd
 
Old October 31st, 2005, 11:09 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You need to use a pivot table for that. Check BOL if you are using SQL Server. This is actually a SQL question, not a datagrid question.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting datagrid column dates badgolfer VS.NET 2002/2003 12 August 9th, 2006 08:24 AM
Formatting e.Item.Cells in Datagrid rstelma ASP.NET 1.0 and 1.1 Professional 18 February 26th, 2006 07:34 AM
Formatting Datagrid reyboy General .NET 0 January 26th, 2005 10:24 PM
Formatting in DataGrid with SQLServer shmacgregor ASP.NET 1.x and 2.0 Application Design 2 November 30th, 2003 12:59 AM
Beginner - Datagrid formatting question badgolfer VB.NET 2002/2003 Basics 1 November 18th, 2003 01:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.