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

Datagridview C# winform not horizontally scrolling all the way to the end

$
0
0

I have a datagridview that gets filled with different data on a button click for example if I click a products button a datatable gets filled from the database and then it fills the datagridview and if I click vendors it clears the datagridview and then it refills the datatable with vendors and the datagridview gets filled from the datatable. The problem is that specifically by products when I press the right arrow it stops a little before the end so you only see half of the last column in the datagridview, and you can only finish moving the scrollbar with the mouse. This only happens with products not with vendors... What can be the problem?


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>