simple database question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

i have a webpage that contains a DataList control. it retrieves the data
from a database. if one of the entries contains an HTML tag eg <b></b> it
will appear bold on the page. i want people to enter data into the database
from the website via a multiline textbox. will the enterer have to enter <br
/> if he/she wants a line break or will a press of the return key suffice? i
cant try it for myself because the data entry form doesn't work yet.

i hope you've understood my question!
 
Typically, you let them type normally and convert \n
to <BR> when you render the text in html.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top