| Author: Pavani 19 Nov 2008 | Member Level: Gold | Rating:  Points: 6 |
Hi
First when I copied your application as you specified, it was giving error at the following line:
if (int.Parse(hdcount.Value) >= 0)
I couldn't get the logic exactly and what input must be given in the textbox and what will contain in the hidden field.
The error is because, initially hidden value doesn't have any value and you are trying to compare it. So first hidden field must be assigned some value.
Sorry I couldn't help you much about it... but if the you are also getting the error at same line as specified above, then you are getting it because of null value in the hidden field.
Regards, Pavani.
|