You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the second paragraph of the Remarks section of the documentation for DataTableReader.GetOrdinal(string name), the article incorrectly states that an IndexOutOfRangeException is thrown if a column number is not found. It should state that and ArgumentException is thrown, as per the list of Exceptions earlier in the document as this is the actual exception type that is thrown.