Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. View child records in datagrid

View child records in datagrid

Scheduled Pinned Locked Moved Database
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Reinier Beeckman
    wrote on last edited by
    #1

    I'm working on a project where i have a parent child relation between two tables. just straight forward. I use the Win form DataGrid in .NET c# to view the data. The relation is made and a + appears before the key in my datagrid. When i click that + i can click on a label which brings me to the child records. The parent row is then showed as a header. What i would want is when i click the + that child records appear under the parent record in the current datagrid. Simular the way access shows related records. Can this be done with the datagrid in a window application ??

    N 1 Reply Last reply
    0
    • R Reinier Beeckman

      I'm working on a project where i have a parent child relation between two tables. just straight forward. I use the Win form DataGrid in .NET c# to view the data. The relation is made and a + appears before the key in my datagrid. When i click that + i can click on a label which brings me to the child records. The parent row is then showed as a header. What i would want is when i click the + that child records appear under the parent record in the current datagrid. Simular the way access shows related records. Can this be done with the datagrid in a window application ??

      N Offline
      N Offline
      NewSilence
      wrote on last edited by
      #2

      I can suggest you to use the Infragistics NetAdvantage http://www.infragistics.com/products/NetAdvantage/WebForms/Default.aspx[^], otherwise you have to code too much. It has extremely wonderful datagrid. My customers like it I think you will like it too

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups