5
Reply

Resizing column...

Israel

Israel

Sep 15 2014 7:27 AM
593
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)