Ask a Question related to ASP.NET General, Design and Development.
-
Boris Zakharin #1
Converting simple text to HTML
Is there a way to convert ASCII text entered into a textbox, for example,
into HTML so that newlines will be turned into <BR> tags or similar among
other things? The closest I've found is HttpUtility.HtmlEncode, but it
doesn't do the job.
Boris Zakharin Guest
-
Converting PDF to HTML...text problem
I am trying to convert my PDFs to HTML, and the paragraphs seem to be all out of order for some reason. It may be because of the size of the pdfs.... -
Simple Question: Converting lists to strings
Is there a way to use a list in a case statement? Can I substitute myList = in the case statement below? case(myVar) of 1, 4, 6, 9, 11:... -
Content from a memo field: converting the rich text into plain text
Hi folks, I have an Access 2000 db with a memo field. Into the memo field I put text with bold attributes, URL etc etc What I need to to is... -
Cocoa: simple HTML text to Unicode
I have an NSString. 99% of the time it contains just text. Sometimes one or more characters of the string will be encoded in HTML, like the... -
increase the text box size-simple html help!
This isn't an ASP question. Size should increase the size, unless it is limited by other factors, e.g. a width parameter in a style sheet for... -
Boris Zakharin #2
Re: Converting simple text to HTML
Thanks. I'm using C#, but I get the idea.
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:%23jfDtvtUDHA.2104@TK2MSFTNGP10.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassReplaceTopic.asp[/url]> Dim s as string = MyTextBox.Text.Replace(vbcrlf, "<br>")
>example,>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Boris Zakharin" <zakharin@alumni.upenn.edu> wrote in message
> news:uj5q%23otUDHA.2284@TK2MSFTNGP12.phx.gbl...> > Is there a way to convert ASCII text entered into a textbox, foramong> > into HTML so that newlines will be turned into <BR> tags or similar>> > other things? The closest I've found is HttpUtility.HtmlEncode, but it
> > doesn't do the job.
> >
> >
>
Boris Zakharin Guest



Reply With Quote

