I am looping through a dataset for each data row
foreach (DataRow DRow in ds.Tables[0].Rows)
I would like to jump the current row when ever a if statement is true.
Any clue how to do it?
Thanks in advance !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
continue:continueskips the remaining part of the foreach block for the current element an continues at the next new element in your collection.