Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 Can I resize datagridview height to show all rows?

$
0
0
Hello,

After the data is loaded in a datagridview control is there any way to resize the control to show all rows by changing the height? I need to load data and capture an image of the control with all data showing. It won't be very tall, only 20 or less rows. But I don't want any extra space at the bottom so thats why I need to see how to resize it. The only way I know how is by setting the row height to a size, count the rows and multiply to get the height. Any other suggestions?

Thanks!

Viewing all articles
Browse latest Browse all 27554

Trending Articles



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