Re: Binding a DataGridView to an empty collection

Re: Binding a DataGridView to an empty collection

Old forum URL: forums.lhotka.net/forums/t/3189.aspx


ozitraveller posted on Friday, July 13, 2007

Hi

I have two scenarios in the app I'm working on at the moment, and both require me to be able to edit in a grid. But I'm not sure how to deal with the collection being empty when I bind it to the grid. I'd like to allow the user to add a new row if it is empty.

If someone could point me in the right direction I'd appreciate it.

Thanks

Copyright (c) Marimer LLC