I was wondering whether it is possible to remove the unused space ( the gray space ) of the DataGridView control in C#. I have to make the DataGridView>
DataGridView
DataGridView>
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;