Use a single DataGrid to show Master/Detail records?

T

Tom Kaminski [MVP]

I want to show a table of master records, with the right most column
displayed as a comma (or space) delimited list of details. The practical
application of this is a thesaurus, where the master records show a term and
the details show n number of synonyms for the master term. I have two
tables, one for terms the other for synonyms (keyed back to the primary key
of the terms). I have defined a DataRelation and used
objTable.ChildRelations to successfully write this stuff out into an
ASP:Table, however I'd like to use a DataGrid instead if it's at all
possible. Any ideas on how to bind that last column to my detail records?
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top