Displaying one-to-many data on web form page

Discussion in 'ASP .Net' started by Ken Cox [Microsoft MVP], Apr 29, 2004.

  1. Hi Charlie,

    That sounds like a job for the free HierarGrid control that handles a
    hierarchical dataset with relations:

    "I have created a custom control called HierarGrid that derives from the
    DataGrid and a custom DataGridColumn called HierarColumn.

    The HierarGrid takes a DataSet that contains relations between the tables.

    While iterating over the parent table it checks the related tables for child
    rows and if one is found it dynamically loads a template for the child

    The template is rendered invisibly into the custom HierarColumn and when the
    user clicks the plus icon, the template content is copied via JavaScript
    into a newly created TableRow."

    Ken Cox [Microsoft MVP], Apr 29, 2004
    1. Advertisements

  2. Ken Cox [Microsoft MVP]

    Charlie@CBFC Guest


    I need to display customer data and their associated purchase items on a web
    page. I guess the best idea is to pull data into an hierarchial dataset.
    After that, what control is best to use to bind to it and display each
    customer followed by their purchases?

    Charlie@CBFC, Apr 29, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.