c# - asp.net HyperLink unable to locate url -
ash below: hyperlink that did not bind the hyperlink properly:
It depends on where you use this hyperlink if it is a part of the page or user control It should look like this:
& asp: hyperlinks Runat = "server" text = "go to project" navigate = url = '~ / project / project master.spack? Project id = <% = projectID%> & quot;' / & gt;
If it is a part of the repeater or any other template container, you can use the Evil or Bind method
& asp: hyperlink runat = "server" text = Navigate to the "Project" Navigate URL = '~ / Project / Project Manager.aspx? Project ID = & lt;% # Eval ("projectID")% & gt; / & Gt;
Comments
Post a Comment