How to resize form to fit DataGridView?
- by slave016
I have a form that contains dataGridView, whose coloumn are set to
dgrv1.Width =dgrv1.Columns.GetColumnsWidth(DataGridViewElementStates.Visible)+20;
I want to make the form to automaticaly follow the with of dataGridView...
Also, on maximized, I would like it to grow in height only.
Any sugestions?