Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
135167 Points
15505 Posts
ASPInsiders
Moderator
MVP
Jan 02, 2007 09:50 PM|LINK
IsNullOrEmpty is new to the 2.0 framework
For 1.1 you could do it like this:
Protected Function FixCrLf(value As String) As String If value Is Nothing OrElse value.Length=0 Then Return String.Empty Return value.Replace(Environment.Newline, "<br />") End Function
mbanavige
All-Star
135167 Points
15505 Posts
ASPInsiders
Moderator
MVP
Re: Carriage returns not displaying in a details view label
Jan 02, 2007 09:50 PM|LINK
IsNullOrEmpty is new to the 2.0 framework
For 1.1 you could do it like this: