Re: Using line breaks in text
- From: "Kevin Spencer" <spam@xxxxxxx>
- Date: Wed, 18 Oct 2006 10:58:48 -0400
Leave the original Line breaks in the database. These are not really part of
the text (data), but part of the UI-specific formatting. Your ASP.Net app
should replace these with "<br />" during execution.
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Shooter
http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
"David" <dlchase@xxxxxxxxxxxxxxx> wrote in message
news:Oe4Rwxr8GHA.4012@xxxxxxxxxxxxxxxxxxxxxxx
We have VS2005 ASP.NET 2.0 application that needs to have each paragraph
separated by a line break. I have added "<br />" into the text column
(SQL 2000) and it works fine when displaying on a web page (GridView).
However, when I export the to Excel it creates separate rows for each line
break, but I don't want that. Does anyone have a solution? Thanks.
David
.
- Follow-Ups:
- Re: Using line breaks in text
- From: David
- Re: Using line breaks in text
- References:
- Using line breaks in text
- From: David
- Using line breaks in text
- Prev by Date: Re: Session Variables - why aren't novice developers warned?
- Next by Date: An application IN the default website?
- Previous by thread: Re: Using line breaks in text
- Next by thread: Re: Using line breaks in text
- Index(es):
Relevant Pages
|