I've got a cell containing a string. The string contains two lines with a carriage return (CrLf) between them. How do I get the carriage return visible in the cell?
Carriage return in cell
Re: Carriage return in cell
Support · May 23, 2006Hello,
Please look at the following code snippet to get the carriage return visible in the cell:
C# Code:
row.Cells.Add( "Hello\nWorld\nTest" );
VB.Net Code:
row.Cells.Add("Hello" & vbCrLf & "World" & vbCrLf & "Test")
Thanks,
ceTe Software Support Team