limit one datatable to values found in another RRS feed

  • Question

  • I have 2 datatables with a common column hfid  one is dtManager and the other dtFiltered.  There is no relationship between the 2.

    How can i limit rows in dtManager to only rows found in dtFilterd based on the hfmid field?


    Thursday, May 12, 2011 11:07 PM


  • You can also have a relationship WITHOUT enforcing a foreign key constraint if you wish. Of course, this assumes that the 2 DataTables are contained in the same DataSet. Are they?
    ~~Bonnie Berent [C# MVP]
    • Marked as answer by WIJ Tuesday, June 28, 2011 12:39 PM
    Saturday, June 11, 2011 11:46 PM

All replies