set column width of datagridview

The solution for “set column width of datagridview” can be found here. The following code will assist you in solving the problem.

DataGridViewColumn column = dataGridView.Columns[0];
column.Width = 60;

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts