BUG: Error message when you set the Width property of a Boolean DataGrid column to 1 in Visual Basic .NET or in Visual C# .NET: "System.ArgumentException" (819345)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSYou bind a DataGrid control to a data source that has a column with Boolean data. If
you set the Width property of the DataGrid Boolean column to 1 at run time, you
receive the following exception: An unhandled exception of
type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: Invalid parameter used. WORKAROUNDTo work around this bug, do not set the Width property of the DataGrid Boolean column to 1. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information, visit the following MSDN Web site:
Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbDataBinding kbstyle kbProperties kbWindowsForms kbCtrl kbControl kbbug KB819345 kbAudDeveloper |
---|
|