Results 1 to 3 of 3

Thread: datagrid

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    datagrid

    I have two tables one with a HEADER record and the other with a DETAIL record. Each HEADER record can have multiple DETAIL records. What I would like to do is place the HEADER record in the datagrid and give the user the option to expand the record and view all the DETAIL records. Is this possible? any examples?

    thanks

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Yes its possible in someways. Make a relation in your dataset tables and then bound the datagrid to the master table.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Check out the sample "Build a Master - Detail Windows Form" at http://msdn.microsoft.com/vbasic/dow...es/default.asp

    Maybe someting to start with that you can tweak.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width