When I try add an extra row to my datagridview I get following error:
Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.
Any idea to fix this, without databinding I added rows like this:
' Populate the rows.
Dim row() As String = {omschrijving, aantalstr, eenheidsprijs, basisbedrag, kortingstr, kortingbedrag, netto, btw, btwbedrag, totaal, productid}
DataGridView1.Rows.Add(row)