Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Debugger Roadmap
Exception Assistant
 Troubleshooting Exceptions: System....
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Debugger
Troubleshooting Exceptions: System.IndexOutOfRangeException

An IndexOutOfRangeException exception is thrown when an attempt is made to access an element of an array or collection with an index that is outside the bounds of the array or less than zero.

Make sure that the maximum index on a list is less than the list size

The maximum index on a list must be less than the list size. For more information, see Arrays in the Common Type System.

Make sure the index is not a negative number.

This exception will be thrown if the index is less than zero.

Make sure data column names are correct.

This exception may be thrown if the data column name being supplied to the DataView..::.Sort property is not valid. For more information, see the DataView class.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker