Description
I am attempting to add rows to a datagrid and I receive the error below. It appears a different methodology for adding rows is needed since the data binding is done when the grid is initialized with the Easy Grid Setup VI. FYI, I am attempting to add rows where one column is combo boxes, but each combo box has different parameters to select from.
Error 1172 occurred at Invoke Node Error calling method System.Windows.Forms.DataGridViewRowCollection.Add, (System.InvalidOperationException: Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.)
Possible reason(s):
LabVIEW: (Hex 0x494) A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.
System.InvalidOperationException in DataGrid.lvlib:DataGridView.lvclass:Add Rows.vi->Untitled 1.vi