title: How to change in a Gridview on RowDataBound event the value of an Eval() field
body: <p>I have a GridView:</p>
  
  <pre><code>&lt;asp:GridView ID="gvDownloads"&gt;
     &lt;Columns&gt;
        &lt;asp:TemplateField HeaderText="Status" &gt;
           &lt;ItemTemplate&gt;
               &lt;%# Eval("Enabled")%&gt;
           &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
     &lt;/Columns&gt;
  &lt;asp:GridView/&gt;
  </code></pre>
  
  <p>The <code>Enabled</code> property is a boolean. Now I would like to display Enabled/Disabled based on True/False of the <code>Enabled</code> property. Therefore I use:</p>
  
  <pre><code>Sub gvDownloads_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) Handles gvDownloads.RowDataBound
  
          If e.Row.RowType = DataControlRowType.DataRow Then
  
              If e.Row.Cells(3).Text = "True" Then
                  e.Row.Cells(3).Text = "Enabled"
              Else
                  e.Row.Cells(3).Text = "Disabled"
              End If
  
          End If
  
  End Sub
  </code></pre>
  
  <p>But it does not work since when the event is launched  <code>e.Row.Cells(3).Text</code> is an <strong>empty string</strong>. How can I solve this problem? Thanks </p>