sporadic IndexOutOfRange error when I databind

  • Thread starter Thread starter Jason Shohet
  • Start date Start date
J

Jason Shohet

Occasionally the user gets an indexOutOfRangeException error when I bind my
datasource to a datagrid, upon hitting a 'submit' button. The fact that
the user can go back, and re-hit that button and it works fine indicates
that this may not necessarily be a code problem. And also, the error
doesn't occur every time, I can't easily replicate it.
When the user hits that submit button, I update 7 rows to the db, and then
requery the database into the dataset and plug that into a datagrid. Could
it be a tweak on IIS, its not a timeout error, the thing doesn't spin around
for 20 seconds. Just an intermittent indexOutofRange...

TY
jason shohet
 
Sporadic IndexOutOfRange

Jason Shohet said:
Occasionally the user gets an indexOutOfRangeException error when I bind my
datasource to a datagrid, upon hitting a 'submit' button. The fact that
the user can go back, and re-hit that button and it works fine indicates
that this may not necessarily be a code problem. And also, the error
doesn't occur every time, I can't easily replicate it.
When the user hits that submit button, I update 7 rows to the db, and then
requery the database into the dataset and plug that into a datagrid. Could
it be a tweak on IIS, its not a timeout error, the thing doesn't spin around
for 20 seconds. Just an intermittent indexOutofRange...

TY
jason shohet
Did you ever find a solution to the problem. We are having the same issue all of the sudden. We noticed that there were no solutions posted.
 
Back
Top