Windows Forms Data Controls and Databinding
Hi Nizmo:
as I know for rows we can use code as follow:
dataGridView1.AutoResizeRow(2, DataGridViewAutoSizeRowMode.AllCellsExceptHeader);
and for column we can use
dataGridView1.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
hope it can help you
*shakes head*
I could have sworn that command wasnt there last time i checked... I can't beleive i could have missed it...