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
230
UltraWinDataSource
posted

I am manually building a multi-level DataSource.  I am getting the following error:

 Key not found Parameter name: key

 on the following line of code:

Dim childRows2 As UltraDataRowsCollection = childRows(crcount - 1).GetChildRows("CHILDBAND2")

childRows(0) is an UltraDataRowsCollection, and does exist

 In this instance, crcount - 1 = 0 as this is the first occurance of adding a Band 2. 

Any help would be appreciated.

  • 469350
    Offline posted

    The error message seems to indicate that childRows(0) does not have a child band named "CHILDBAND2".