0

How do I show textbox column of a datagridview in multiline format using vb.net?

hawbsl
  • 15,313
  • 25
  • 73
  • 114
meenakshi
  • 11
  • 1
  • 4
  • possible duplicate from: http://stackoverflow.com/questions/1559867/how-to-set-datagridview-textbox-column-to-multi-line – Tim Schmelter May 15 '10 at 18:53

1 Answers1

0

You have to set the WrapMode property of the DefaultCellStyle property of your DataGridViewTextBoxColumn.

See here for details:
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcellstyle.wrapmode.aspx

Hans Olsson
  • 54,199
  • 15
  • 94
  • 116