AllowUserToAddRows = true
I am trying to add them programatically.
I see an error that you cannot when the datagridview is bound to a dataset.
If the edit a row, then a new row appears automatically at the last row.
I need to "insert" a row before or after a selected row then add data to it.
Nicholas Paldino said:
Chris,
Can you show an example? What is it databound to? Is the
AllowUserToAddRows property set to true on the DataGridView? Or are you
getting an error when trying to do this programattically?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
how do you insert a new row to a databound datagridview? It won't allow
this
action.