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

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -