Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET 2.0 DetailsView

ASP.NET 2.0 DetailsView

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmlasp-netdatabase
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jawz X
    wrote on last edited by
    #1

    Hey everyone,
    I’m hoping that someone can give me a quick answer to this question.
    I have a ASP.NET web page with a Details View. This Details view is data bound to a DataSet from an SQL Server (2000). The DataSet contains a nvarchar which includes the HTML formatting code. The problem is that the HTML is converted so that it displays the HTML in the browser. (I.E: <br /> instead of <br /> )

    Any suggestions or solutions?

    Thanks,
    Frank

    J 1 Reply Last reply
    0
    • J Jawz X

      Hey everyone,
      I’m hoping that someone can give me a quick answer to this question.
      I have a ASP.NET web page with a Details View. This Details view is data bound to a DataSet from an SQL Server (2000). The DataSet contains a nvarchar which includes the HTML formatting code. The problem is that the HTML is converted so that it displays the HTML in the browser. (I.E: <br /> instead of <br /> )

      Any suggestions or solutions?

      Thanks,
      Frank

      J Offline
      J Offline
      Jawz X
      wrote on last edited by
      #2

      I found the answer On asp:BoundField you can set a property to disable this feature. IE: HtmlEncode="False"

      Thanks!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups