Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 2nd, 2008, 08:16 PM
Authorized User
 
Join Date: Jun 2006
Location: , , India.
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via MSN to gagansharma7
Default Adding columns to Gridview

Hi,

    I am using a dataset to capture 30 records from a stored procedure and bind it to Gridview. I have to display 30 records in the Gridview in 3 columns such that first 10 records are in column 1, next 10 records are in column 2 and next 10 records are in column 3.

Anybody please let me know how to get such a display.

Thanks
gs
Reply With Quote
  #2 (permalink)  
Old February 15th, 2008, 10:54 AM
Registered User
 
Join Date: Feb 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

A simple solution i can think of is populating three different datatables in the same dataset with 10 records each and binding them separately to the 3 columns.
like.....
dsDataset.Table[0]
dsDataset.Table[1]
dsDataset.Table[2]

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to freeze GridView columns? MLaGrange BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 September 16th, 2010 10:10 PM
Need to get value of gridview template columns for kmh030 ASP.NET 2.0 Professional 1 January 6th, 2007 11:10 PM
Hyperlinks in GridView Columns monika.oberoi ASP.NET 2.0 Professional 2 December 22nd, 2006 04:21 AM
problem adding two columns g_vamsi_krish SQL Server 2000 2 March 6th, 2006 10:56 AM
Adding optional columns? shaileshmark SQL Server 2000 9 July 24th, 2004 03:57 PM



All times are GMT -4. The time now is 08:12 AM.


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