Adding a vb.net value to a html string

  • Thread starter Thread starter Aussie Rules
  • Start date Start date
Aussie Rules said:
Sorry I just noticed that the date on my PC is wrong.

I have now fixed this.


a href="" id="lnk1" runat="server">Caption

Then in code behind:

lnk1.HRef = "<value from database>"

HTH,
James
 
Hi,

I have a form that has a href link. The href link is coded in the html, but
I need to append to this the actual URL which I get from a SQL table.

How do I in the HTML code make reference to my vb variable.


<html>
<a href="insert value here">link</a>
</html>


---

dim stLink as string

stLink = http://www.asite.com



Thanks
 
Back
Top