sothun.thay
New member
- Joined
- Oct 5, 2020
- Messages
- 2
- Programming Experience
- Beginner
I have a List of objects (lst) and DataTable (dt). I want to join the lst and dt on common field (code as string) and need to return all matching rows in the lst.
My List<T> contains:
code name
1 x
2 y
3 z
The DataTable contains:
code value
3 a
4 b
5 c
the result is:
3 z
I would be much appreciated if you could help me resolve this problem.
My List<T> contains:
code name
1 x
2 y
3 z
The DataTable contains:
code value
3 a
4 b
5 c
the result is:
3 z
I would be much appreciated if you could help me resolve this problem.