Re: keep the new line character in SQL server text
From: Caspy (caspases_at_yahoo.com)
Date: 05/21/04
- Next message: Aaron Bertrand - MVP: "Re: Logging within User_Defined Functions (UDF)"
- Previous message: Aaron Bertrand - MVP: "Re: invalid column name"
- In reply to: Nicole Calinoiu: "Re: keep the new line character in SQL server text"
- Next in thread: Aaron Bertrand - MVP: "Re: keep the new line character in SQL server text"
- Reply: Aaron Bertrand - MVP: "Re: keep the new line character in SQL server text"
- Reply: Nicole Calinoiu: "Re: keep the new line character in SQL server text"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 10:46:13 -0400
Thanks,
In addition, how to make the application can handle post images? the images
should be save separately as "image" type, right?
--Caspy
"Nicole Calinoiu" <nicolec@somewhere.net> wrote in message
news:e8YKpnzPEHA.3524@TK2MSFTNGP09.phx.gbl...
> Caspy,
>
> This is very unlikely to have anything to do with SQL Server or your data
> storage. Instead, it's most likely the result of HTML display rules,
which
> preclude the rendering of extended white space. To conserve the paragraph
> formatting, you can wrap the text in a PRE element. e.g.:
>
> <pre>Your text goes here with
>
> white space
>
> preserved at rendering.</pre>
>
> See http://www.w3.org/TR/html4/struct/text.html#edef-PRE for the official
> word on the PRE element.
>
> HTH,
> Nicole
>
> "Caspy" <caspases@yahoo.com> wrote in message
> news:OsP8KOzPEHA.628@TK2MSFTNGP11.phx.gbl...
> >I am developing a web site for a discussion forum with SQL server 2000 as
> > back end data storage. The post messages are save as 'text' in database.
> > Messages are extracted from a text box. In the text box, poster can have
> > some format like new paragraphs to make post look better. However, the
> > message from the SQL server lost all new line characters. each message
is
> > long string with any line break. How to keep the paragraph format?
> >
> > thanks,
> >
> > --Caspy
> >
> >
>
>
- Next message: Aaron Bertrand - MVP: "Re: Logging within User_Defined Functions (UDF)"
- Previous message: Aaron Bertrand - MVP: "Re: invalid column name"
- In reply to: Nicole Calinoiu: "Re: keep the new line character in SQL server text"
- Next in thread: Aaron Bertrand - MVP: "Re: keep the new line character in SQL server text"
- Reply: Aaron Bertrand - MVP: "Re: keep the new line character in SQL server text"
- Reply: Nicole Calinoiu: "Re: keep the new line character in SQL server text"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|