title: how to give link to the label and pass querystring to another page in asp.net using c#
body: <p>I have asp.net page with SQL server 2008 as database. I have 3 stored procedures . one for total  count of users in tbl_users and onother for total man users and last for woman users. and i have 3 labels for display count of records. I Want to give link to the labels so that when we click on label, open another page and run related stored procedure. and show detail in grid view.
  For e.g :
  <a href="http://i.stack.imgur.com/ClXVO.png" rel="nofollow">enter image description here</a></p>
  
  <pre><code>&lt;a href="show_records.aspx?val="+Label1.Text;"&gt;&lt;asp:Label ID="lbl_total_records" runat="server"
  &lt;/asp:Label&gt;&lt;/a&gt;
  </code></pre>
  
  <p>But this code dont work . please help me.</p>