One approach is to use a server side <asp:HyperLink> control instead
of a naked <a>nchor tag, and then you can reference the link with a
variable and set the NavigateUrl property programatically.
link.NavigateUrl = "MyPage.aspx?id=" + myId;
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 15 Jun 2005 11:58:57 -0600, "TCORDON" <tc******@hotmail.com>
wrote:
How can I insert a value that i have in a variable (codebehind) into the
html part of the page to build a querystring?
Say: <A href='MyPage.aspx?Id=(Insert the value here)'>
TIA!