Access to hyperlink in listview in Itemtemplate
<p>I'm trying to access a <code>hyperlink</code> on my <code>listview</code>. When the user logs in,
the hyperlink will show on my homepage. It doesn't show.</p>

<pre><code>protected void lvtop6_ItemCommand(object sender, ListViewCommandEventArgs e)
{

    ListView hlBuy = (ListView)lvtop6.FindControl("hlBuy");

    if (User.Identity.IsAuthenticated==true)
    {
        hlBuy.Visible = true;
    }
    else
    {
        hlBuy.Visible = false;
    }
}
</code></pre>

<p>Please somebody advise me to figure out what is wrong with my code behind</p>
