title: Get value for GridView templatefield
body: <p>I have this GridView</p>
  
  <pre><code> &lt;asp:GridView ID="gvPrices" runat="server" DataSourceID="ldsPrices" AllowPaging="true"
      AllowSorting="true" ShowHeader="true" PageSize="20"&gt;
      &lt;Columns&gt;
          &lt;asp:BoundField DataField="CapId" HeaderText="CapId" SortExpression="CapId" /&gt;
          &lt;asp:TemplateField HeaderText="Vehicle"&gt;
              &lt;ItemTemplate&gt;
                  &lt;%# Eval("Manufacturer") %&gt;&amp;nbsp;&lt;%# Eval("Model") %&gt;&amp;nbsp;&lt;%# Eval("Derivative") %&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:BoundField DataField="Term" HeaderText="Term" SortExpression="Term" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>When I iterate through it to get values, the first one is fine, but the second one as it's a template field doesn't have a text property. How can I access it's value? I thought about FindControl but I don't know the id?</p>
  
  <pre><code>sb.Append(gvPrices.Rows[i].Cells[0].Text + ','); // has a value
  sb.Append(gvPrices.Rows[i].Cells[1].Text + ','); // doesn't have a value
  </code></pre>
  
  <p>Thanks</p>