filtering child records

  • Thread starter Thread starter Martin Williams
  • Start date Start date
M

Martin Williams

How can you get the child records of a master record and then further filter
the returned array down to more specific records? For instance, I search
the array containing the child records for rows that have a value of "Today"
in the Date column. I then want those identified rows copied to another
array. Thanks for all responses.

Regards,
Martin Williams
 
Hi Martin,

You can't filter an array of rows.
Rather use DataTable.Select method on child table and include the parentid
in the filter.
 
Back
Top