The DataSet contains tables. For your example above, if you have two SqlDataAdapters, each of which calls a stored procedure and stores them, as you did above.
adapter1.Fill(DS, "Table1"); adapter2.Fill(DS, "Table2");
This will result in the table results from your first query and save it in the DataSet DS in table 1. Then it will save another table (Table 2) in the same dataset. To access these tables, you use the following code:
DS.Tables["Table1"]
You already have the right process, you just need to see how the DataSet works, and decide how you want to name your information.
IF you want to combine the results into one DataTable, you will need to iterate over the tables and combine the information.
ex: DataTable combinedTable = new DataTable(); //Create columns foreach (DataRow row in DS.Tables["Table1"].Rows) { //Create rows? Copy information over? Whatever you want to do. }
source share