If on your .aspx page you have a set of links:
<a id="link1" runat="server/><br mode=" hold=" /><a id=" link2=" runat=" server="" />
Then you can in your code behind in the
OnPreRender:
link1.Href = "www.codeproject.com";
link1.InnerText = "The Code Project";
link2.Href = "msdn.microsoft.com";
link2.InnerText = "MSDN";
You can do the same thing with a <asp:hyperlink ...> tag except you set the NavigateUrl and Text properties.