If you have to make hyperlink in code behind then you should use
"System.Web.UI.HtmlControls.HtmlAnchor".
System.Web.UI.HtmlControls.HtmlAnchor topic1 = new System.Web.UI.HtmlControls.HtmlAnchor();
topic1.HRef="URL";
topic1.InnerText = "Topic1";
likewise you can give for each five hyperlinks.
If this helped you then please
vote and marked it as answer.