Format database Text (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Avick -> Format database Text (3/11/2007 9:54:26)

Not quite sure how to put this question!!

I have an access database on my website that provides questions and answers to site visitors.

I am trying to format the text in the answer to include bold, underline and coloured text.
When I put the formatting in the answer section of the database then display it on site you can see all the formatting tags while the text remains as plain text.

I changed the details in the database and told it to display the text as rich text but this did not work.

I am completely stumped as to how I can achieve this. Its probably something completely simple but I just can't find it!!

The site is designed and uploaded using Expression Web.

I have two pages to run the database.
The question page and the Answer page. A filter takes you to the selected record in the answer page.





mar0364 -> RE: Format database Text (3/11/2007 17:02:46)

Your putting the html in the database?




Avick -> RE: Format database Text (3/11/2007 18:01:49)

Ya.
Items like <b> and <p class="item">.
I am trying to get it to refferance the HTML and display the information as requested.




mar0364 -> RE: Format database Text (3/12/2007 7:10:05)

Are you reading the data to the page with a details view or the datareader?




Avick -> RE: Format database Text (3/12/2007 7:55:29)

I'm using Details View to display the data.




mar0364 -> RE: Format database Text (3/12/2007 8:05:55)

I know logically the inline html should over ride anything else. But check and see if you have a template style applied to the details view.




Avick -> RE: Format database Text (3/12/2007 11:17:45)

Hi Mar0364

Here is the page and what it looks like.
http://www.hairways.ie/simsuport.aspx
Very early stages but you should get what I mean.

Its showing up the tags and not using the formating.

I have no templates emabled on the design and layout.




mar0364 -> RE: Format database Text (3/12/2007 15:39:59)

This is what I get.

Server Error in '/' Application.

The resource cannot be found.




Avick -> RE: Format database Text (3/12/2007 18:09:50)

Hi mar0364

I have changed the name of the page and I have one item up and running now.

The new link is.
http://www.hairways.ie/simsupportq.aspx

This is going to be the questions page (Only one item on it so far)

When you click the link you will then be taken to the answer page.

It seems to be formating OK now since I changed to datalist view.

The pages are accessing an MS Access database at the back end.

This Expression Web is just fantastic [:D]




mar0364 -> RE: Format database Text (3/13/2007 8:36:31)

Glad to hear things are working out. If I'm ever in IE in know where my hair cut will be.

Expression s great once you learn to deal with the little things MS puts in all their products. (just to frustrate us)




Avick -> RE: Format database Text (3/13/2007 9:19:36)

[:D]
Your more then welcome




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875