I have a datagrid with a DataKeyName of PasswordID
I want one of my columns in the grid to be an asp:HyperLinkField So the dataTextField will be "Site" and I want my NavigateURL to carry a variable so something like:
is this possible?
If so how do I declare @SiteId given that my DataKeyName is already taken?
I tried mypage.aspx?SiteID= <%#Eval("SiteId") %> but that throws an error.
Many thanks in advance