W
Wayne Wengert
I am trying to relate two tables in a dataset but cannot find the right
syntax to specify that the relationship consists of two columns. The
following code specifies a single column but I need to add a 2nd column
("SeqNbr") to that to specify a unique relation?
Dim ShowSetsRel As DataRelation = ds1.Relations.Add("ShowSets", _
ds1.Tables("CGShows").Columns("EventID"), _
ds1.Tables("CGPerfSched").Columns("EventID"))
syntax to specify that the relationship consists of two columns. The
following code specifies a single column but I need to add a 2nd column
("SeqNbr") to that to specify a unique relation?
Dim ShowSetsRel As DataRelation = ds1.Relations.Add("ShowSets", _
ds1.Tables("CGShows").Columns("EventID"), _
ds1.Tables("CGPerfSched").Columns("EventID"))