D
Developer Dude
Guest
Hi:
How would I dispose of the data relation so that I can dispose of the
two datatables?
'Create A DataRelation.
Dim data_relation As New _
DataRelation("SE_CS", dsPSB1.Tables("dtSE").Columns("SE_KEY"), dsPSB1.Tables("dtCS").Columns("CS_SE_KEY"))
dsPSB1.Relations.Add(data_relation)
Remove A DataRelation Called "SE"CS"
'Remove DataTables From The DataSet.
dsPSB.Tables.Remove("dtSE")
dsPSB.Tables.Remove("dtCS")
'Dispose Of The Form.
Me.Dispose()
Continue reading...
How would I dispose of the data relation so that I can dispose of the
two datatables?
'Create A DataRelation.
Dim data_relation As New _
DataRelation("SE_CS", dsPSB1.Tables("dtSE").Columns("SE_KEY"), dsPSB1.Tables("dtCS").Columns("CS_SE_KEY"))
dsPSB1.Relations.Add(data_relation)
Remove A DataRelation Called "SE"CS"
'Remove DataTables From The DataSet.
dsPSB.Tables.Remove("dtSE")
dsPSB.Tables.Remove("dtCS")
'Dispose Of The Form.
Me.Dispose()
Continue reading...