Save Formatted text From a Textbox control in database
-
In a Text box control I've written some text which are divided into Three Paragraps....Now I want to save text in database in same paragraph format...so that during display data should be displayed in three paragraphs.
kbsaha wrote:
so that during display data should be displayed in three paragraphs.
It depends on where you are displaying the data. If it is on a Literal or writing to response, you need to replace the
\n
characters with <br> and\t
characters with 
. If the text is displaying in the text box itself, you don't need any conversions.Navaneeth How to use google | Ask smart questions
-
kbsaha wrote:
so that during display data should be displayed in three paragraphs.
It depends on where you are displaying the data. If it is on a Literal or writing to response, you need to replace the
\n
characters with <br> and\t
characters with 
. If the text is displaying in the text box itself, you don't need any conversions.Navaneeth How to use google | Ask smart questions
-
So you have to replace as I said.
Navaneeth How to use google | Ask smart questions
-
In a Text box control I've written some text which are divided into Three Paragraps....Now I want to save text in database in same paragraph format...so that during display data should be displayed in three paragraphs.
What I have understood from your question, it totally depends on where you are displaying the data. Thanks, Bilal Yousaf Hussain