5
Answers

Resizing column...

Israel

Israel

10y
605
1
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)