Microsoft KB Archive/904561

= FIX: The System.Data.DataTable.Select method returns a result that is sorted on the first column of the table instead of the column that you specify in the second parameter of the method in the .NET Framework 1.0 Service Pack 3 =

Article ID: 904561

Article Last Modified on 10/12/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.0

-



This article describes the following about this hotfix release:
 * The issues that are fixed by the hotfix package
 * The prerequisites for installing the hotfix package
 * Information about whether you must restart the computer after you install the hotfix package
 * Information about whether the hotfix package is replaced by any other hotfix package
 * Information about whether you must make any registry changes
 * The files that are contained in the hotfix package



SYMPTOMS
In the Microsoft .NET Framework 1.0 with Service Pack 3 (SP3), you use the System.Data.DataTable.Select method.

Note  and   represent the parameters of the Select method.

In the first parameter, you use a filter expression that uses the AND keyword to connect two conditions. In the second parameter, you specify a column that is not the first column of the table.

In this scenario, the Select method returns a result that is sorted on the first column of the table. However, you expect that the result is sorted on the column that you specify in the second parameter.

This problem does not occur if the filter expression contains only one condition.

Notes
 * This problem also exists in the Microsoft .NET Framework 1.1 Service Pack 1 (SP1). For more information, see the &quot;References&quot; section.
 * This problem does not occur in the Microsoft .NET Framework 2.0 or in later versions of the .NET Framework.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
You must have the .NET Framework 1.0 SP3 installed to apply this hotfix.

For more information about how to obtain Microsoft .NET Framework 1.0 SP3, click the following article number to view the article in the Microsoft Knowledge Base:

318836 How to obtain the latest .NET Framework 1.0 service pack

Restart information
You do not have to restart the computer after you apply this hotfix.

Registry information
You do not have to change the registry.

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

