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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Hyper Reference Tag from SQL Procedure [modified]

Hyper Reference Tag from SQL Procedure [modified]

Scheduled Pinned Locked Moved ASP.NET
databasehtmlwpfwcftutorial
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.
  • S Offline
    S Offline
    Satish_S
    wrote on last edited by
    #1

    lbllink.Text= dsLink.Tables[0].Rows[0]["CSV"].ToString()

    when i am binding a data from sql query[like ,<a href="login.aspx">LINK1</a>,<a href="login.aspx">LINK2</a> ,<a href="login.aspx">LINK3,LINK33</a> like this to a as above, i am getting only <a href="login.aspx">LINK1</a> ,<a href="login.aspx">Link3,Link33</a> instead of links like Link1,Link2,Link3,Link33 How to render HTML to label

    modified on Thursday, November 18, 2010 4:36 AM

    S 1 Reply Last reply
    0
    • S Satish_S

      lbllink.Text= dsLink.Tables[0].Rows[0]["CSV"].ToString()

      when i am binding a data from sql query[like ,<a href="login.aspx">LINK1</a>,<a href="login.aspx">LINK2</a> ,<a href="login.aspx">LINK3,LINK33</a> like this to a as above, i am getting only <a href="login.aspx">LINK1</a> ,<a href="login.aspx">Link3,Link33</a> instead of links like Link1,Link2,Link3,Link33 How to render HTML to label

      modified on Thursday, November 18, 2010 4:36 AM

      S Offline
      S Offline
      Satish_S
      wrote on last edited by
      #2

      Hi i found the issue and solution is when binding like above the < and > symbols are binded as "lt" and "gt" so i used replace function to replace those to < and > tags and i got the links 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