Article ID: 828099 - Last Review: May 21, 2007 - Revision: 1.3 FIX: Data is not sorted correctly on a DataGrid control in a Windows application in the .NET Framework 1.1NoticeOn This PageSYMPTOMSWhen you add a DataGrid control to a Windows application that is created by using Microsoft Visual Studio .NET, and then you set the DataSource property of the DataGrid control, you may notice that the data is not sorted correctly after you delete a data record from the data source. RESOLUTIONSoftware update informationTo resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.1. To download the latest service pack, visit the following Microsoft Web site:http://www.microsoft.com/downloads/details.aspx?FamilyId=A8F5654F-088E-40B2-BBDB-A83353618B38
(http://www.microsoft.com/downloads/details.aspx?FamilyId=A8F5654F-088E-40B2-BBDB-A83353618B38)
WORKAROUNDTo work around this problem, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in the Microsoft .NET Framework 1.1 Service Pack 1. MORE INFORMATIONThe code in the "Steps to reproduce the behavior" section demonstrates this problem. This application contains one dataset that contains one data table. The data table is populated with five rows inside the code. Then, the data is sorted on one of the columns that is of type Integer in the data table. After this, the code deletes some rows from the data table. Steps to reproduce the behavior
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
For more information, visit the following Microsoft Developer Network (MSDN) Web site: Sorting and Filtering Data Using a DataView http://msdn2.microsoft.com/en-us/library/13wb36xf(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/13wb36xf(vs.71).aspx)
| Article Translations
|
Back to the top
