Use one line code as below:
dataGridView1.Columns["Question"].DefaultCellStyle.Alignment=DataGridViewContentAlignment.TopLeft;
dataGridView1.Columns["Question"].DefaultCellStyle.Alignment=DataGridViewContentAlignment.TopLeft;
For smart Primates & ROBOTS (oh and ALIENS ).
0 comments:
Post a Comment