Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In my online exam project i have 50 questions.
after completing 50 questions when user press finish in some cases browser throw a error that "There is no row at 51 position"
if this problem is related to code side then all student should face this problem, But most of the student completed there exam with any problem.
so is it related to server side problem or network problem?
Thanks in advance
Richard MacCutchan 14-Jun-12 7:07am    
Without further information it's unlikely anyone can guess what the answer is.
Richard MacCutchan 14-Jun-12 7:10am    
Does this question also relate to this one?
Sandeep Mewara 14-Jun-12 11:33am    
Error does suggest code issue. It might be certain scenario or UI design triggers the issue. Share related code snippet to get more comments.

1 solution

from above information it seems that there is a problem in your code. there can be no. of reasons for this.
you may be incrementing the index in such a way that some times it terminates without executing at last index hence doesn't gives error on the other hand sometimes its get executed, therefor giving error.
I suppose you should check your code first.

In this kind of problems use breakpoints it'll help you alot to solve your problems,or print the intermediate results to catch where you are getting wrong way

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900