Get selected ID in asp.net listview bound to a hyperlink
<p>I am new to asp.net, forgive my newbie question.
I have a listview which displays all item info (ItemID,Item name).
I bound the item name to a hyperlink control. now what i want to do is that when i click the hyperlink i want to get the ID and navigate the item detail page. i tried using selected index but it still retuns null. here's my code.</p>

<p>On the listview itemTemplate</p>

<pre><code>&lt;asp:HyperLink ID="HyperLink1" runat="server" 
</code></pre>

<p>NavigateUrl="ItemDetails.aspx"> &lt;%# Eval("[ItemName]") %> 
</p>

<p>'/></p>

<p>Please help.thanks in advance</p>
