R
Rigga
Hi all,
Firstly, sorry for the simple question, as i'm sure i'm missing something
obvious.
I have a text field (varchar) I am reading from an SQL db, into a string
variable, in .NET
I am then assigning this string variable to an HTML control, either Label or
Textbox, depending on the edit situation.
The problem I am getting is that the text that is displayed on the web page
does not show the text formatting of the original text, i.e. carriage
returns etc.
So the q. how do I convert the text string in .NET to the html formatted
string to be displayed on the web page, and how do I then reverse that
process once the web user has edited the text?
And while I'm on the subject, is there an easy way to display RTF text in an
HTML control?
Thanks in Advance.
R.
Firstly, sorry for the simple question, as i'm sure i'm missing something
obvious.
I have a text field (varchar) I am reading from an SQL db, into a string
variable, in .NET
I am then assigning this string variable to an HTML control, either Label or
Textbox, depending on the edit situation.
The problem I am getting is that the text that is displayed on the web page
does not show the text formatting of the original text, i.e. carriage
returns etc.
So the q. how do I convert the text string in .NET to the html formatted
string to be displayed on the web page, and how do I then reverse that
process once the web user has edited the text?
And while I'm on the subject, is there an easy way to display RTF text in an
HTML control?
Thanks in Advance.
R.