473,320 Members | 1,817 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,320 software developers and data experts.

simple database question

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!
--
mensuur
Feb 26 '06 #1
1 1226
Typically, you let them type normally and convert \n
to <BR> when you render the text in html.

--
Robbe Morris - 2004-2006 Microsoft MVP C#
http://www.eggheadcafe.com/forums/merit.asp

"mensuur" <me*****@discussions.microsoft.com> wrote in message
news:B7**********************************@microsof t.com...
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!
--
mensuur

Feb 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Laurel Thomason | last post by:
Hi, I'm looking for a simple, web-enabled php database that I can customize. It doesn't even have to use mysql. It's just gotta be able to hold about 200 records, and each record has five fields....
0
by: nospam | last post by:
This has got to be a FAQ some place, but.... Say I've got a table in some database some place, like so: (Actually, it's several tables kind of turned sideways, but for purposes of this question...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
2
by: Ryan McBride | last post by:
Once again at my wonderful job i've been given the task of "come teach your fellow idiot coworkers the skills you have" I write software for a company in chicago. I use visual basic on asp.net...
5
by: Stephanie_Stowe | last post by:
Hi. I am trying to get used to AS.NET. I have been doing ASP classic for years, and am now in a position to do ASP.NET. I am in the stumbling around until I get my bearings phase. I hope you will...
10
by: serge calderara | last post by:
Dear all, I need to build a web application which will contains articles (long or short) I was wondering on what is the correct way to retrive those article on web page. In orther words, when...
17
by: RSH | last post by:
I am really trying to grasp the concept of OOP as it applies to C#. I am looking at trying to set up a simple Employee Class but I am having trouble conceptualizing what this class should look...
5
by: garyusenet | last post by:
Hi all, Im in the process of writing a simple application. I have a form which has on it five text boxes. I would like to store information that is entered into these text boxes in a small...
2
by: theseandavis | last post by:
Hello, I am trying to sum together a number of rows by similarities that I have grouped together with the pull down menu. I would like to exclude one column if possible as it can be one of only...
7
by: CSharper | last post by:
Yesterday I had a heated discussion with my colleagues on what is a data centric application and having business logic in sql. I have group of people who wants to include all the business logic in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.