Link to home
Start Free TrialLog in
Avatar of taz8020
taz8020Flag for United Kingdom of Great Britain and Northern Ireland

asked on

vb.net how do you loop through to joined tables

vb.net how do you loop through to joined tables
I want to fill 2 joined tables then loop through them something like this but one that works

For Each Localrow As MyDataDataSet.LocalProductsRow In MyDataDataSet.LocalProducts
    if Localrow.lastupdate > Webrow.lastupdate then
      'do stuff like update each way
    end if
Next

Hope this makes sence
ASKER CERTIFIED SOLUTION
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of regevha
regevha

Following expert fridom comment, I recommend you to use LINQ as described in http://blogs.msdn.com/b/bethmassi/archive/2008/02/19/one-to-many-master-detail-forms-with-linq-to-sql.aspx