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. General Programming
  3. C#
  4. Running out of ideas

Running out of ideas

Scheduled Pinned Locked Moved C#
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.
  • J Offline
    J Offline
    Johnny 0
    wrote on last edited by
    #1

    I need to filter rows on the view of the parent table of a relationship shown on a datagrid based on a RowFilter set on the view of the child table. I tried deleting all the rows in the parent table and the reset the row state back for each row that is a parent of rows in the child table that are not hnidden but deleting parent rows apparently deletes rows in the child table also. Not sure if there is another way to do this.

    E 1 Reply Last reply
    0
    • J Johnny 0

      I need to filter rows on the view of the parent table of a relationship shown on a datagrid based on a RowFilter set on the view of the child table. I tried deleting all the rows in the parent table and the reset the row state back for each row that is a parent of rows in the child table that are not hnidden but deleting parent rows apparently deletes rows in the child table also. Not sure if there is another way to do this.

      E Offline
      E Offline
      Eduard Keilholz
      wrote on last edited by
      #2

      Have you tried reading all data into a dataset? You can then create a constraint between your two tables (or more) and find parent and child rows using a certain datarelation between those tables.

      - - - --[ i love it when a plan comes together ]-- - - -

      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