Hi, I did as you said.I took one integer variable " i " and set its initial value to 1. Then in the If part I increment it by 1 and doing nothing in the else part.At last after it comes out from the loop i printed it in a label.But the problem is everytime the value of the integer is coming out as 1, the initial value.Again when I tried to increment " i " in the else part, it is incrementing but taking all the values of the checkboxes, if there are 4 checkboxes, value becomes 5, if there are 7, value becomes 8 , like this. What should i do now ? Please givew some idea.
|