D
Developer Dude
Guest
Hi:
I have the following code.
'Create Service-Service Type Data Relation.
Dim data_relation As New _
DataRelation("SE_ST", dsPSB.Tables("dtSE").Columns("SE_ST"), dsPSB.Tables("dtST_1").Columns("ST_KEY"), False)
dsPSB.Relations.Add(data_relation)
'Service Type Table BindingSource.
bsST_1.DataSource = bsSE
bsST_1.DataMember = dsPSB.Relations(0).RelationName
lblSE_ST_A.DataBindings.Add("Text", bsST_1, "ST_DESC")
I want to display "ST_DESC" which is in the child table, dtST_1. Can someone tell
me where my code is incorrect. Thanks.
Continue reading...
I have the following code.
'Create Service-Service Type Data Relation.
Dim data_relation As New _
DataRelation("SE_ST", dsPSB.Tables("dtSE").Columns("SE_ST"), dsPSB.Tables("dtST_1").Columns("ST_KEY"), False)
dsPSB.Relations.Add(data_relation)
'Service Type Table BindingSource.
bsST_1.DataSource = bsSE
bsST_1.DataMember = dsPSB.Relations(0).RelationName
lblSE_ST_A.DataBindings.Add("Text", bsST_1, "ST_DESC")
I want to display "ST_DESC" which is in the child table, dtST_1. Can someone tell
me where my code is incorrect. Thanks.
Continue reading...