Zzazaya
New member
- Joined
- Jun 27, 2023
- Messages
- 1
- Programming Experience
- 5-10
Im trying to join multiple datatables to a single datatable.
This gives me a dataset with 13 tables defined with relationships. Is it possible to join the tables into a single datatable using the existing relations?
I have tried the Merge() method, but this method seems to union the rows and creates a table with 9000 rows. The parent table has 1401 rows so the resulting table should also have 1401 rows.
C#:
var response = await client.ExecuteStaticQueryAsync(new ExecuteStaticQueryRequest() {
queryName = "CustTableListPage"
});
var dataset = response.ExecuteStaticQueryResult.ToDataSet();
This gives me a dataset with 13 tables defined with relationships. Is it possible to join the tables into a single datatable using the existing relations?
I have tried the Merge() method, but this method seems to union the rows and creates a table with 9000 rows. The parent table has 1401 rows so the resulting table should also have 1401 rows.