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
340
Attaching Dataset to Ultragrid with Multiple Tables
posted

I have a dataset that contains three tables - A, B1, B2. A stands by itself. B1 and B2 have a relationship. I have two grids on my form - A and B.

Grid A's datasource = Dataset.A and I am not having any issues with the data showing in the grid. Grid B's datasource should be tables B1 and B2. Grid B, however is where I am having a problem. I have tried setting grid B's datasource = Dataset.B and Dataset (by itself).

After setting the datasource for grid B I loop through the bands to hide any tables that are not B1 or B2, which happens to be table A. Once done nothing shows in grid B.

Is there a way to do this with all three tables in the same dataset? The dataset was created as an .xsd file.

Thanks!