How to skip an element in foreach when debugging with visual studio? -
i have piece of code
foreach(datarow row in dt.rows) { //here goes stuff }
now want do, skip particular element in foreach.
i tried call
dt.rows.getenumerator().movenext();
via quick watch
window seemed give no result. how can that?
thanks in advance
either right-click end of loop , select 'set next statement', or drag yellow arrow end of loop.
Comments
Post a Comment