supersonic11
New Member
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.On the listview itemTemplate\[code\]<asp:HyperLink ID="HyperLink1" runat="server" \[/code\]NavigateUrl="ItemDetails.aspx"> <%# Eval("[ItemName]") %> '/>Please help.thanks in advance