Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27246

VS 2010 Combining Data from Two DataTables

$
0
0
I have a Dataset that contains two data tables and I now need to merge them based on a "key" column which they both share.

I'm wondering what the best way to do this is. I've researched a few methods (Merge, LINQ) but I'm relatively new to .NET and I'd like to know what the preferred method is.

I have the two data tables all set - just need to join them based on a field - ideally leaving behind all records in data table 1 and only the matches from data table 2.

Viewing all articles
Browse latest Browse all 27246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>