0

Im new to VB.NET, I need to add a variable to a dynamic a href tag like so:

litLink.Text = "<a href='" & Link & "' ></a>"

this code as of right now places single quotes around the link.

chromeOne7
  • 33
  • 2
  • 8
  • This is not the same question, doubling the double quotes doesnt work in my case with a variable. – chromeOne7 Feb 13 '15 at 15:23
  • 2
    You should be able to use what you have... it should still work but if you want double quotes then use litLink.Text = "" – Mych Feb 13 '15 at 15:29

0 Answers0