Newline character in datagrid cell

msufreeman

Member
Joined
Jun 15, 2007
Messages
8
Programming Experience
1-3
Hello everyone,

I'm looking for a way to use some sort of newline character inside of a cell in a datagrid.

Currently I am trying to do this in the ItemDataBound event of my datagrid using commands such as ControlChars.NewLine but I am having no success.

Basically I am entering a large amount of text into a single cell of a datagrid on multiple rows. I want to be able to format this text and part of that formatting includes being able to have it on seperate lines.

Does anyone have any ideas on how to do so? I have tried looking it up myself, but have had no success.

Thank you
 
Use the html line break tag: "<br />"
 
Back
Top