Create a reference for the control on the GUI part of the control:
<ul runat="server" id="ul1">
Refer to it from the codebehind:
ul1.InnerHtml = sb.ToString();
Create a reference for the control on the GUI part of the control:
Refer to it from the codebehind: