|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
add row to empty DataGridView without selecting it?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. On Nov 23, 2:16 pm, Fletch <Fle***@discussions.microsoft.com> wrote:
> Instead of trying to add rows to the DGV, since your grid is assumably tied I am actually *not* using databinding to my DGV in this case, for> to a data source, you should add the row to your data source so that the DGV > can do its own updating. maximum flexibility. |
|||||||||||||||||||||||