S
sklett
A Google Groups search on this topic returns many unanswered posts, so I
must not be the only one
I have a simple many-to-many situation;
[ tbl_Shots ]
pk_shotID
[ tbl_Assets ]
pk_assetID
[ tbl_shotAssets ]
fk_shotID
fk_assetID
Given that schema, I would like to get the asset records for a given shot
using DataRelation objects.
I have a sproc that will get all three tables as separate tables in a
DataSet. What I'm having a hard time putting together is how to get the
asset records from the DataSet?
Let's say I have a DataRow in the tbl_Shots that I want the Asset records
for.... how can I have a DataRelation that will return the asset records?
A simple many-to-many DataRelation example would help me sort this, I'm sure
of it.
Thanks for reading,
Steve
must not be the only one
I have a simple many-to-many situation;
[ tbl_Shots ]
pk_shotID
[ tbl_Assets ]
pk_assetID
[ tbl_shotAssets ]
fk_shotID
fk_assetID
Given that schema, I would like to get the asset records for a given shot
using DataRelation objects.
I have a sproc that will get all three tables as separate tables in a
DataSet. What I'm having a hard time putting together is how to get the
asset records from the DataSet?
Let's say I have a DataRow in the tbl_Shots that I want the Asset records
for.... how can I have a DataRelation that will return the asset records?
A simple many-to-many DataRelation example would help me sort this, I'm sure
of it.
Thanks for reading,
Steve