I am populating a DataGridView control on a Windows Form (C# 2.0 not WPF).
My goal is to display a grid that neatly fills all available width with cells - i.e. no un
A simple two lines of code works for me.
dataGridView.DataSource = dataTable; dataGridView.AutoResizeColumns();