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
85
UltraDataSource + WinGrid
posted

Hello,

I'm trying to create 3 level hierarchy band in UltraDataSource, and I cant figure out how to get reference for the third level row.

for the second level row i'm doing the next code:

ultraDataSource1.Rows.SetCount(1, true);

 var root = ultraDataSource1.Rows[0];

 var firstLevelRows = root.GetChildRows("FIRST_LEVEL_ROW");

firstLevelRows.SetCount(firstLevelRows .Count + 1);

dataRow = firstLevelRows[firstLevelRows.Count - 1];

 dataRow["Some Columns"] = SomeDataToInput;

 

 

and i have a grandchild band under the " firstLevelRows ", I want to get reference to its ChildRows, but for some reason it says the method is internal.

 

 

 

thanks for the help!

 

Alex h,

trio-soft