group data in grid

N

NuB

I have to create a datagrid that shows my data like this:

BMW
325i
325ci
525
Lexus
IS 300
GS
Mercedes
CL 500
SL
M

How can i group my data to show like this?
 
G

Guest

Google for "asp.net grouping subheading datagrid" .. it brought up several
articles on this
 
D

drdave

Heu Nub I am currently trying to do the same type of thing...my
approach has been to query the db to fill a dataset with my data..

Then using an array loop over the dset tables and using the select
methods grab the right data and then display it in a repeater.. verrrry
ugly but the datagrid control dosesn't seem to allow this type of
grouping behaviour..

My issue now is to get the rows returned to be bound to the repeater...

Have you decided on an approach yet??

I can post some code if it will help you out but maybe you have a
better idea on how to do this??

Dave
 
N

NuB

I'm still working on it. I have my data being grouped but I can't get the
correct "header/make" information showing for the correct car model.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top