Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks in strings
Message
From
08/03/2007 11:48:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Line breaks in strings
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01201959
Message ID:
01201959
Views:
63
So what's the deal with line breaks in strings? (I think I am going to start all my posts off now like Jerry Seinfeld)

I used to append a vbCrLf, but then starting appending Environment.NewLine. Now I am trying to display my line-broken string in an ASP.NET datagrid, but Environment.NewLine doesn't seem to do it. I have to append a < br > instead to make this work. I don't want to rely on this because it kind of binds my biz logic to ASP.NET.
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform