Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line breaks in the label
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Line breaks in the label
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01331534
Message ID:
01331534
Vues:
50
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
Répondre
Fil
Voir

Click here to load this message in the networking platform