[Mono-winforms-list] Crashes setting properties on DataGridView Column Headers?

W Allan Edwards silicon_plains at hotmail.com
Sat Feb 28 02:50:53 EST 2009


Tonight I have been wrestling with my application throwing an exception when calling

dataGridView.Columns[0].HeaderText = "some name"

as well

dataGridView.Columns[0].Visible = false

Both of those statements seem to cause an exception to be thrown.

The exception message is...

"Index is less than 0 or more than or equal to the list count.  Parameter name: index: 0

.....................................................................

On the Microsoft side this issue does not occur.  Also, this was not happening in the 2.2 version...

Tech

2.4 RC1 Mono
Open Suse 11.1 32-bit
Windows Vista Home Premium Edition

Thanks,
-A-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090228/f27d878d/attachment.html 


More information about the Mono-winforms-list mailing list