taz8020
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.LocalProduct sRow In MyDataDataSet.LocalProduct s
if Localrow.lastupdate > Webrow.lastupdate then
'do stuff like update each way
end if
Next
Hope this makes sence
I want to fill 2 joined tables then loop through them something like this but one that works
For Each Localrow As MyDataDataSet.LocalProduct
if Localrow.lastupdate > Webrow.lastupdate then
'do stuff like update each way
end if
Next
Hope this makes sence
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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