views:

18

answers:

1

Hi everyone,

i want to display a large data in a cell of DataGridView as multiplelines to avoid the horizontalscroll.

A: 

Set the DefaultCellStyle's WrapMode:

Me.dataGridView1.DefaultCellStyle.WrapMode = DataGridViewTriState.True

For further information have a look at MSDN

Tim Schmelter