DustyCarpet
Member
- Joined
- Sep 4, 2013
- Messages
- 8
- Programming Experience
- 1-3
Hi
I have created a parent/child data relation between 2 datatables with the following code.
But I can't figure out how to bind the child table to a datagridview.
Any ideas.
thanks
I have created a parent/child data relation between 2 datatables with the following code.
But I can't figure out how to bind the child table to a datagridview.
Any ideas.
thanks
VB.NET:
Dim data_relation As New _
DataRelation("DataTableJoin", _
ds.Tables("dtParent").Columns("ID"), _
_
ds.Tables("dtChild").Columns("ID"))
ds.Relations.Add(data_relation)