dejanc 0 Newbie Poster

Hello,
I'm trying to place select hyperlink, or button to get item details on another page. In DataGrid control it is very easy to do it, I have just add HyperLinkField, and add Url parameter details.aspx?id={0}.

I have tried with below code, but of course it is not working, as getting error:
"Input string was not in a correct format"

<asp:HyperLink  id="HyperLink1" runat="server" navigateurl="details.aspx?id={0}"> Details</asp:HyperLink>

Thank you in advance for help to anyone.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.