Cannot add rows when the DataGridView control is in virtual mode?

Posted by monkey_boys on Stack Overflow See other posts from Stack Overflow or by monkey_boys
Published on 2010-04-07T01:06:34Z Indexed on 2010/04/07 1:43 UTC
Read the original article Hit count: 371

Filed under:
|
|

When I try to add a new row to a DataGridView in virtual mode like this:

dataGridViewX1.Rows.Add(new string[] { "Parker", "Seattle" });

The following exception occurs:

Operation is not valid when the DataGridView control is in virtual mode?

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about c#