Hi all,
Just curious is there a "next row" method when looping through a datatable?
Basically, I want to be able to go to the next row without having to go to the end of the loop. See my coded example:
If I can't do it this way is there some alternative way of accomplishing? I'm using VB 2005Code:For Each row As DataRow In dt.Rows Dim MyCondition as Boolean = ClassConditions.ConditionA Try If MyCondition = True then 'I'd like something here that would go to next row end if Catch ex As Exception 'error trapping code End Try Next row
Thanks,
Strick


Reply With Quote
