Well, the ASP.Net way would be to make that a server control and access it
in your page lifecycle:
<a id="test" runat="server" />
codebehind:
Protected test as HtmlAnchor
sub Page_load(...)
Test.HRef = "Blah.aspx"
end sub
if you insist on doing the <%=getVariable%> route, you'll need to define
getVariable as a protected string.
karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"rjl" <> wrote in message
news: ups.com...
> How do you use variable in html tag, such as:
> <a href="<%=getVariable%>Test</a>
>
> thanks.
>