Microsoft KB Archive/826954

= FIX: Your application may unexpectedly stop responding when the data from the dataset has a filter applied to the data in the Microsoft .NET Framework 1.1 =

Article ID: 826954

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-



SYMPTOMS
When you work with a DataGrid control in the Microsoft .NET Framework 1.1, your application may unexpectedly stop responding when the data from the dataset has a filter applied to the data.



CAUSE
This problem occurs when your instance of the DataGrid control is populated from a local data source, and the DataGrid control tries to redraw after the local data source is filtered. The instance of the DataGrid control causes the application to stop responding. This problem occurs because the DataGrid control cannot determine the number of rows of data that are in the new dataset.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Visual J# .NET service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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. 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 tool in Control Panel.

 Date        Time   Version            Size    File name --  15-Aug-2003  03:01  1.1.4322.934    1,703,936  System.design.dll 15-Aug-2003 03:01  1.1.4322.934      466,944  System.drawing.dll 15-Aug-2003 02:59  1.1.4322.934    2,039,808  System.windows.forms.dll



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



Steps to reproduce the problem

 * 1) Start Microsoft Visual Studio .NET.
 * 2) Click File, and then click New.
 * 3) In the New Project window, create a new Visual J# .NET Windows Application project.
 * 4) In Solution Explorer, open the form that is named Form1.jsl from your newly-added project.
 * 5) Click the Data tab, and then add a DataSet control to Form1.

The Add Dataset window opens.
 * 1) Click Untyped dataset, and then click OK.
 * 2) Click the Windows Forms tab, and then add a DataGrid control to the form.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB826954

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.