Send string with QueryString in Repeater Control in ASP.net

asp.netquery-stringrepeater

I use a Repeater Control for showing the data in my WebSite. I use a HyperLink in the Repeater Control for showing one field of my table in the database.

When you click, I want that link go to another page and send a string to that [page] with a QueryString. I don't know how I do that – can you explain how to do it?

I am using Linq in ASP.net.

Best Answer

<asp:HyperLink ID="HyperLink3" NavigateUrl='<%#Eval("ID_Message","~/ADMIN/Reply.aspx?ID={0}") %>' runat="server">OK</asp:HyperLink>
Related Topic