title: How to get the text value of a label inside a gridview by using jquery
body: <p>I want to get the text value of label. This label is placed in gridview. Then how i can get it's value on a button click through Jquery. The button is also placed inside the gridview. </p>
  
  <p>Here is my code :</p>
  
  <pre><code> &lt;asp:GridView ID="gvCustomers" runat="server" AutoGenerateColumns="false"&gt;
                              &lt;Columns&gt;
                                  &lt;asp:TemplateField HeaderText="ID"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="lblBEid" Text='&lt;%# Eval("BusinessEntityID") %&gt;' runat="server" /&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="Name"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="lblName" Text='&lt;%# Eval("FirstName") %&gt;' runat="server" /&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="Modified Date"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="lblDate" Text='&lt;%# Eval("ModifiedDate") %&gt;' runat="server" /&gt;
                                          &lt;asp:LinkButton ID="lnk" Text="Click Here" runat="server" OnClientClick="getValue();" /&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                              &lt;/Columns&gt;
                          &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Please help me guys. Thanks in advance. </p>