Israel

Israel

  • 698
  • 1.3k
  • 217.6k

Resizing column...

Sep 15 2014 7:27 AM
Hello to all!

I have a table with two columns (column1 and column2). I want to resize each column with his own size. Then I try to write this line of code but its resize all the columns. Please solve it fo me. Thanx!

private void dgvpeople_ColumnAdded(object sender, DataGridViewColumnEventArgs e)
        {
            e.Column.Width = 30;
        }


Answers (5)