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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -