Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Windows forms DataGridView binding save when last row is selected

$
0
0

Hello,

I'm having some problems when using DataGridView with a datasource and defaultvaluesneeded.

I have a grid bounded to a BindingList and when i try to Save, if the last row is selected, than i have an extra entry in the BindingList for that last row. It has only the values from defaultvaluesneeded. 

Is there a way to prevent that?

Thanks in advance,

Sergiu


Best Regards.


Viewing all articles
Browse latest Browse all 2535

Trending Articles