Please try the following linq statement, it should be equivalent to the current code.
var re = (from person in _dtMaster.AsEnumerable()
join pet in _dtChild.AsEnumerable() on person["id"] equals pet["id"]
select new
{ person, pet }).ToList();
foreach (var item in re)
{
item.person.SetField("Discription", item.pet[2].ToString());
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.