Home | Index | Dotnet4all Snippets | Submit resources
About | Mail us 
Datagrid with grouping (Thursday, January 26, 2006)

 

Found the following interesting discussion in the Newsgroups:

Datagrid with grouping
by:Anonymous

hello,
I was wondering if there is anyway that you can implement a datagrid that spreads over two rows based on grouping, so you could have something similar to below.
Description qty type A Type B Type c
Part 1 2 £11.00 £12.00 £13.00
Costs £22.00 £24.00 £26.00
Part 2 2 £60.00 £100.00 £46.00
Costs £120.00 £200.00 £92.00

The number of rows that the datagrid should contain is not determined till runtime.

Any help would be appreciated.

Geraldine


 Reply:
by:Ken Tucker [MVP]

 Hi,

Dont know of any way to do that with the datagrid. Take a look at
the free component one grid that comes with vb.net resource kit. There are
samples that show you how to do grouping.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
Ken



Posted by Xander Zelders



0 Comments:

Post a Comment

<< Home

 
Previous Posts
    - How to change Character Entered?
    - Launch another application and wait for it to comp...
    - Launch another application and wait for it to comp...
    - How to get Windows Directory?
    - Closing MDI Child Form
    - Anyone with VB .NET 2003, please help!
    - Write to a file in a dll
    - Pass variables to another program
    - Compile options
    - Slow to load apsx pages developed in VB.NET



Disclaimer & Terms of Use | DotNet4All.Com concept & © 2004 - 2007 by Zelders² - Holland