Use a single DataGrid to show Master/Detail records?

Discussion in 'ASP .Net' started by Tom Kaminski [MVP], Nov 10, 2003.

  1. 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?

    --
    Tom Kaminski IIS MVP
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
    http://mvp.support.microsoft.com/
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    Tom Kaminski [MVP], Nov 10, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?c3dpbGRlcm11dGg=?=

    New Records with Master/Detail in ASP.NET 2.0

    =?Utf-8?B?c3dpbGRlcm11dGg=?=, Jul 26, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    420
    =?Utf-8?B?c3dpbGRlcm11dGg=?=
    Jul 26, 2005
  2. Luke Airig
    Replies:
    0
    Views:
    776
    Luke Airig
    Dec 31, 2003
  3. asmj
    Replies:
    0
    Views:
    492
  4. Arun Kumar Menon

    Master Detail detail

    Arun Kumar Menon, Aug 6, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    189
    Arun Kumar Menon
    Aug 6, 2003
  5. Frederik Borg

    ASp.net data binding: Master-detail-detail

    Frederik Borg, Jun 9, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    349
    Frederik Borg
    Jun 9, 2006
Loading...

Share This Page