QueryString Link
<p>I have the following code which works for a postbackurl on a button. What I need to do is do something similar, but with an:</p>

<pre><code>&lt;a href&gt;&lt;/a&gt;
</code></pre>

<p>in asp.net. How can I do that? Thanks for your help!</p>

<pre><code>&lt;a href="negativestorydetail.aspx?tag=&lt;%# Eval("Tag") %&gt;" style="color: #ff0000; text-align: center; margin: 15px; line-height: 30px; text-decoration:none; font-size: &lt;%# GetTagSize(Convert.ToDouble(Eval("weight"))) %&gt;"&gt;&lt;%# Eval("Tag") %&gt;&lt;/a&gt;
</code></pre>

<p>C# CODE:</p>

<pre><code>protected string GenerateLinkDetails(object companyId, object projectName, object projectId) { 

    return string.Format("~/projectdetails.aspx?guid={0}&amp;name={1}&amp;role={2}&amp;member={3}&amp;company={4}&amp;project={5}&amp;proj_id={6}", id, name, company_role, mem_id, companyId, projectName, projectId); 
}
</code></pre>

<p>ASP.NET CODE:</p>

<pre><code>&lt;asp:Button ID="LinkButtonDetails" runat="server" Text="DETAILS" PostBackUrl='&lt;%# GenerateLinkDetails(Eval("CompanyID"), Eval("ProjectName"), Eval("ProjectID")) %&gt;' /&gt;
</code></pre>
