Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line breaks in Data grid
Message
De
14/04/2006 11:44:39
 
 
À
14/04/2006 05:23:58
Ilyas Mirza
Kensington Computersd
London, Royaume Uni
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01113296
Message ID:
01113721
Vues:
11
Ilyas,

I don't use MM, so perhaps Kevin has methods in MM to handle this sort of stuff, but if not what you'll need to do is handle it yourself after you get your data and before you display it. Since you're using a business object, you can probably write a method to do this, replacing the CR/LF (or whatever delineates your paragraphs) with the proper HTML (probably just a couple of < BR >).

~~Bonnie



>Hi Kevin,
>
>I have data field which contains text. Text is devided into few paragraphs. In the datagrid I have one bound column with "Data Field" containing name of the field I want to display.
>
>The grid is bound to the business object using BindingSource property. When I try this form the text is displayed as a single line instead of paragraphs.
>
>Thanks,
>
>Ilyas
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform