Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with DataSets with VB Code

Status
Not open for further replies.

donutman

Programmer
Dec 20, 2002
2,481
US
I'm trying to mimic DataSet table queries within VB code that are simple as pie in SQL Server. Another words I want to work with the data tables in vb and perform e.g. left joins that can then be used to create a new table within the DataSet that contains only rows from Table A that are not "matched" in Table B. Can that be done within VB itself once Table A and Table B are within a vb DataSet? If so what does the code look like?
-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Thanks MajP. While the link didn't really answer the question it pointed me in the right direction. My good fortune that you happened to visit this forum rather than Access.
Rod Stephens Chapter on LINQ did the rest. Awesome, would never have studied that chapter otherwise, i.e. would have "skipped while".
-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top