Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
band.key = DataTable.TableName ?
posted

Isn't band.key suposed to equal DataTable.TableName?
After I add a DataRelation to the DataSet the band.key is not equal DataTable.TableName. It looks like it takes on the name of the Relationship.

Is this normal behavior?

  • 469350
    Verified Answer
    Offline posted

    The key of the band is whatever the data source gives it. In the case of a data set, the key of a child band is the name of the relationship. This makes sense because the child band is not a table, it's constists of 0 or more islands of data which are each subsets of the table, related to the parent row.