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

Datagridview SelectionChangedEvent

$
0
0
I have a datagridview in a C# windows form showing a list of customers, and every time I scroll down it goes through the selection changed event over and over as I scroll. In the selectionchanged event handler it has to show data for that customer. The problem is that as I scroll because it has to do all that code, the datagridview as you scroll fast shows the same customer with all it's data down the whole visible section of the datagridview over and over. As soon as I stop to scroll the screen fixes up, but I think it doesn't look proffessional. Is there anything to do about it?

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>