Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks in the label
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Line breaks in the label
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01331534
Message ID:
01331534
Views:
51
Hi eveybody,

Somehow I can not put line breaks for the label control, would you please help me?

I'm trying this code, but it prints everything in one line
 Text = "There is a problem with the data, please check it over." + Environment.NewLine +
                     e.Exception.ToString().Replace("\\n",Environment.NewLine);
UPDATE. Ok, all I needed to do is to use
instead of newline.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform