<b>now what it should do is perform an action when isCheckedComponentIgnore is false</b>
but it doesnt do that, the interesting thing is, is that the chkIgnoreitem is a column in a gridview which was ticked or unticked depending on a field in a database, I recently changed the field from format 1 or 0 to Y or N
sqlinsert="update tbl_name set loop_no=a where rollnumber=a";
cmd = new SqlCommand(sqlinsert, conn);
string newline="Roll No:"+a+"was not updated";
once if its go for "CATCH" block, how it can proceed others?
i.e, if record 2 fails, will it proceed other records and complete the whole FOR loop????
i tried.. but getting error...
how to achieve it?
thanks in advance and understanding....
Since this is not VB6 and you cannot Resume Next On Error, I guess you better validate what you're updating before trying to update it, and if it doesn't validate, not try to update. Simply. Thus, you get no exceptions and the for loops for as long as you want it to loop
"Users are there to click on things, not think. Let the archs do the damn thinking."