Wrox Programmer Forums
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2010, 06:29 AM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default html with asp.net

Whenever a html string is fetched from a database column into the asp.net application, a backslash gets added before every double quote, what should i do to remove this backslash so that html format appears correctly on the web.
The format of html on my website does not appear correctly.
like it does not take into account the font size and font style.
 
Old June 11th, 2010, 11:20 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This does not sounds like normal behavior. It sounds like some kind of string manipulation is going on that is causing this. Can you debug and step through the code and try to find where this might be happening? Have you looked into the database to compare the raw source data against the output? Can you provide an example of the raw data versus the resulting HTML?
__________________
-Peter
compiledthoughts.com
twitter/peterlanoie





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML email problem in asp.net sanjivbshinde ASP.NET 2.0 Professional 5 May 29th, 2008 06:49 AM
Placing HTML object in ASP.NET toddw607 ASP.NET 2.0 Basics 3 April 30th, 2008 03:58 PM
HTML Button in Asp.Net vallabh53 .NET Framework 1.x 0 October 17th, 2007 01:01 AM
Converting a given string to html table in asp,net ostwald ASP.NET 2.0 Professional 2 September 10th, 2007 04:44 AM
Viewing HTML in ASP.NET 2.0 rgturner ASP.NET 2.0 Professional 11 September 9th, 2007 10:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.