How to join datatables of a dataset?
I have a dataset which have four datatables.
- Table[0] contains columns such as: storedProcedure,DLLMethod,BLLMethod
- Table[1] contains columns such as: DLLMethod,BLLMethod
- Table[2] contains columns such as: UCName,BLLMethod
- Table[3] contains columns such as: UCName,Function,Module
- Table[4] contains columns such as: StoredProcedure,Function,Module
I want to join first four tables such that final table must contain StoredProcedure,Function and Module.Can anyone Please help me wit开发者_StackOverflow社区h C# coding?
LINQ to DataSet
dim query = from a in table1 join b in table2 on a.table2ID = b.ID select a,b
this can grow on many more tables by adding more joins
var query = from a in table1 join b in table2 on a.table2ID = b.ID select a,b;
精彩评论