Apr 20, 2006 #1 J Jelmer Regular Joined Jan 11, 2006 Messages 96 Hello Programmers, I try to add a rule to an datagridview manually. But i'll get an error. Code: DGfactuurregels.Rows.Add(dataGridView3.Rows[1].Cells[3]); The error was: can't add row to databound datagrid. Is there something els for?
Hello Programmers, I try to add a rule to an datagridview manually. But i'll get an error. Code: DGfactuurregels.Rows.Add(dataGridView3.Rows[1].Cells[3]); The error was: can't add row to databound datagrid. Is there something els for?
Apr 20, 2006 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK If the control is bound then you need to add the row to it's data source ratherthan the grid directly.
If the control is bound then you need to add the row to it's data source ratherthan the grid directly.
Apr 20, 2006 #3 J Jelmer Regular Joined Jan 11, 2006 Messages 96 i've got to mutch trouble with the datagrids.. Is there a good tutorial for that ?