asp.net 2.0
llblgenpro 2
adapterTemplate
Hiya,
I am binding a datalist to an entityCollection “jobItemEntityCollection”.
However, I want to include additional fields that are not directly contained in this entityCollection.I want to include a field “jobName” field, that is actually contained in a “parent” table.
Schema below:
tblJob //parent table
jobId (PK)
jobName //value that I want to include in my jobItem entityCollection
tblJobItem
jobItemId (PK)
jobId (FK --> tblJob.JobId)
I hope that I’ve explained the above clearly.
My questions:
1 should I be using the jobItem entityCollection / some other approach?
2 If I should be using the jobItem entityCollection, how do I add the additional field from the parent table.
As always, many thanks.
yogi