Victor Charles
asked on
Help with autosize of dataGridView
Hi,
How do you adjust the height of the DatagridView depending on the number of records using VB.NET?
Thanks,
Victor
How do you adjust the height of the DatagridView depending on the number of records using VB.NET?
Thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Put datagrid in a div or table and use height as 100%
ASKER
Hi Fernando,
It works with DataGridView.RowCount * 25
Thanks
Pawan Thanks for your comment.
Victor
It works with DataGridView.RowCount * 25
Thanks
Pawan Thanks for your comment.
Victor
Not a problem Victor, glad to help.