473,394 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to keep linefeed format in the textbox and show it later on the webpage

2
Hi, Everyone

I made a text box on the aspx page and get input from customer. Usually customers input several paragraphies in the multi line text box. I insert information into database and later reload to the page. It does reload the content but not the paragraphies format. Is there any way to paly around it?

I really appreciate if someone can help me. Thanks in advance
Jun 9 '07 #1
3 1341
kenobewan
4,871 Expert 4TB
Welcome to TSDN. If you want the information to remain you have a postback problem.
Jun 10 '07 #2
try to use Char(13) before saving into the database in place of each
Carriage Return.
Jun 10 '07 #3
timtim
2
try to use Char(13) before saving into the database in place of each
Carriage Return.
Hi sulaimanvp

Do you mean I use Replace(Char(13), "<br/>") before I insert info into database?

Thanks
Jun 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Martin Foster | last post by:
Hi. I want to do something really simple. I want to be able to write a custom SQL query in a textbox on a webpage, submit it and then output to the webpage in the format of MySQL output i.e....
4
by: Johannes Busse | last post by:
Hello, I use saxon 6.5.3. under SuSE 9.1. In my stylesheet I give out messages like <xsl:message> <xsl:value-of select="$myId" /> <xsl:text> | </xsl:text> </xsl:message>
3
by: Wade G. Pemberton | last post by:
Help!: I use javascript to format repetitive data from a web page input FORM into a long string , and save it as lines of comma delimited data in a text file on a Unix server. The text...
4
by: Jan Nielsen | last post by:
Hi I have a dataform that shows a date from a MSDE 2000 in a textbox. It uses the format: dd-mm-yyyy hh:mm:ss It would it to use the format dd-mm-yyyy But I can't find a Format property for the...
7
by: Richiep | last post by:
I am trying to get a UK format date of dd/mm/yyyy. Why does the following subroutine not return a valid date in a web form? The date returned is #12:00:00 AM# but the date I entered into the...
3
by: frank | last post by:
please help! How to keep the format of the content of a MultiLine TextBox. For example, 'new line' I try the code: ------------------------------ TextBox.Text = "TERANET / MPAC - KEY TERMS...
2
by: harirenu | last post by:
hai, I have a textbox in my webpage where i enter the date through calander and the format is mm/dd/yy this date should be less than todays date.But I am getting problem when comparing the year....
4
by: Finn Stampe Mikkelsen | last post by:
Hi Is there any way to make the textbox property show html, like a textarea on a webpage would?? I have a webapplication that saves an textarea complete with html tags and everything... ...
7
by: pamela fluente | last post by:
My numericUpDowns show numbers in the format 1.500,56 (italy). Instead, I need *invariantly* that they show and accept the format 1,500.56, as in the USA. What's the right way to do that? I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.