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
--------------------------
"Geraldine Hobley" <(E-Mail Removed)> wrote in
message news:8D055FF1-0B1A-4079-8F6B-(E-Mail Removed)...
> 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