title: get gridview label field while clicking on linkbutton
body: <p>I want to retrieve the value of label field by clicking on link button. it has to be fired only in onclick event only. i have tried with this , but it is giving null value.</p>
  
  <pre><code>protected void verifycount_Click(object sender, EventArgs e)
  {
        GridViewRow link = ((LinkButton)sender).NamingContainer as GridViewRow;                
        Label qrcode = (Label)link.FindControl("lblqrcode");       
        string result=qrcode.text;
  }
  </code></pre>
  
  <p>pls help do solve this</p>