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

datagridview enter problem

$
0
0
I have a datagridview which allows editing. Every time the user presses enter on a row it commits that rows changes and goes to the next row. This is exactly the behavior I want. The problem is that the last row has nothing to enter to so it just stays on the last row and doesn't commit the change. I would like that if there are additional rows it should commit the change of the current row and go to the next row(which is working) and if there are no additional rows it should commit the change and stay on that row. How would this work?

Debra has a question


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>