posts - 250,  comments - 58,  trackbacks - 5053

Today I was receiving an System.IndexOutOfRange error when I was calling AcceptChanges() on a dataset.  I finally tracked it down to be an issue with the data that I was inserting into a table within the DataSet.  Here's what happened:

  1. Insert valid row into the dataset table and call AcceptChanges.
  2. Insert an invalid row (two double columns contained values that were NaN) and call AcceptChanges.
  3. Repeat step 2....
  4. Look at the System.IndexOutOfRange error.

That's an odd error and didn't help me look at the correct problem at all.  As soon as I solved the NaN issue, everything worked great.

posted on Wednesday, August 25, 2004 11:52 AM
Post a new comment about this topic
Title  
Name  
Url

Comments   

Enter the code you see: