winforms: datagridview: height (autosize) depending on number of rows

Posted by ibmkahm on Stack Overflow See other posts from Stack Overflow or by ibmkahm
Published on 2010-02-22T09:51:55Z Indexed on 2010/04/27 4:43 UTC
Read the original article Hit count: 268

Filed under:
|
|
|

in one of my forms a datagridview displays data from a database (of course the number of data (so number of rows) can change). The database connection is in the form load event. I just cant figure out how the height of the whole datagridview is autosized, depending on the number of rows it displays.

© Stack Overflow or respective owner

Related posts about c#

Related posts about datagridview