add row to empty DataGridView without selecting it?

  • Thread starter Thread starter craig.wenger
  • Start date Start date
C

craig.wenger

Does anybody know how to do this? It seems like it should be easy but
it is proving not to be. The MultiSelect property is set to True and
SelectionMode is FullRowSelect on my DataGridView, in case it matters.
 
Instead of trying to add rows to the DGV, since your grid is assumably tied
to a data source, you should add the row to your data source so that the DGV
can do its own updating.
 
Instead of trying to add rows to the DGV, since your grid is assumably tied
to a data source, you should add the row to your data source so that the DGV
can do its own updating.

I am actually *not* using databinding to my DGV in this case, for
maximum flexibility.
 
Back
Top