title: Get value of TemplateFields in Gridview
body: <p>I have a problem with getting value of template field; Gridview is in ContentPlaceHolder1;</p>
  
  <p>I'm trying to get value in GridView1_RowCreated event</p>
  
  <pre><code>int RowIndex = GridView1.Rows.Count - 1;
  GridView1.Rows[RowIndex].Cells[0].Text = " " + AltKatLinkler;
  </code></pre>
  
  <p>But this code returns me null or empty.</p>
  
  <p>There is my column, column index is 0.
  Note: I fill GridView by using SqlDataSource. There is no problem i can see row content in browser but i cant access from codebehind.</p>
  
  <pre><code>&lt;asp:templatefield headertext="Haberler" sortexpression="KategoriID" xmlns:asp="#unknown"&gt;
      &lt;ItemTemplate&gt;
         &lt; a href='&lt;%# "KategoriGoster.aspx?KategoriID=" + Eval("KategoriID")%&gt;'&gt;
         &lt;%# Eval("KategoriAd")%&gt;
         &lt;%# Eval("Açıklama")%&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>