Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line breaks in strings
Message
De
08/03/2007 11:48:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Line breaks in strings
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01201959
Message ID:
01201959
Vues:
61
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform