Ask a Question related to ASP Database, Design and Development.
-
Darren Woodbrey #1
ntext formatting
I have an ASP page that submits a form to a SQL database. There is a
textarea that submits to an ntext field. When I output this to an ASP page
using a Select statement it is all one string. Is there a way to make this
appear exactly like the user enters it into the original text box? I have
tried wrap=hard. When I look at the field in the database it looks like it
was entered but when it is outputted to the page, it is still one string.
Any help would be greatly appreciated. Thanks!
Darren
Darren Woodbrey Guest
-
CFMX and NTEXT fields
I have a SQL table that includes 2 NTEXT fields. When I do a cfquery such as SELECT * FROM MYFILE, I get no value back for these fields. Playing... -
MS SQL 2005 and ntext
I have a simple SELECT statement: SELECT RestaurantID, Status, RestaurantName, City, PostalCode, EmailAddress, URL FROM tblRestaurants WHERE URL... -
ntext field not showing up (ASP)
I changed the datatype of a field in a SQL Server 2000 database from nvarchar to ntext, but now nothing is being displayed. The "Body" column of... -
createparameter ntext
I am running Visual Basic 6.0 with Sp5 connecting to SQL 2000 with latest SP. Is it possible to insert a record into a table with 1 of the... -
nText
SQL Server 2000 I am trying to pull off a record from a table which has 2 ntext fields. How do I retireve all the information stored within these... -
Ray at #2
Re: ntext formatting
The key isn't to get your data to look like it, it's to think about how the
HTML has to be written to get the data to be displayed the way you want it.
How about:
sValueFromDB = Replace(sValueFromDB, vbCrLf, "<br>")
Ray at work
"Darren Woodbrey" <darrenwoodbrey@hpfairfield.com> wrote in message
news:Ou$wliBKEHA.3084@TK2MSFTNGP11.phx.gbl...page> I have an ASP page that submits a form to a SQL database. There is a
> textarea that submits to an ntext field. When I output this to an ASPthis> using a Select statement it is all one string. Is there a way to makeit> appear exactly like the user enters it into the original text box? I have
> tried wrap=hard. When I look at the field in the database it looks like> was entered but when it is outputted to the page, it is still one string.
> Any help would be greatly appreciated. Thanks!
>
> Darren
>
>
Ray at Guest



Reply With Quote

