Hmmm, have you tried using an Expression as the "bound sub/child
property"?, look at the following for general syntax:
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/cpref/html/frlrfSystemDataDataColumnClassExpressionTopic.asp

(Relevant section cut'n'pasted here):

PARENT/CHILD RELATION REFERENCING

A column in a child table may be referenced in an expresion by prepending
the column name with "Child." For example, "Child.Price" would reference
the column named Price in the child table.

If a table has more than one child, the syntax is: Child(RelationName). For
example, if a table has two child tables named Employee and Titles, and the
DataRelation objects are named "Publishers2Employee:
and "Publishers2Titles," the reference would be:

Child(Publishers2Employee).fname

Child(Publishers2Titles).title

A parent table may be referenced in an expression by prepending the column
name with "Parent." For example, the "Parent.Price" references the parent
table's column named "Price."

Personally, I haven't tried it myself (too busy writing custom
dataset/interface wrapper gen code), but I think it may be possible from
some postings I saw on Google groups awhile back.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to