datagridview column size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all

I have a datagridview which is bound to a dataset. The datagridview is
filled at run-time.

How can set the column-width for each column.

I have tried :
DataGridViewColumn column = dataGridView1.Columns[0];
column.Width = 60;

This works fine if a create a datagrid and the columns (that menas not
binding i quess).

how can i get it to work for a binded datagridview.

Thanks.
Lars E. Nes
 
Back
Top