title: How to access a gridview column on rowdatabound ?
body: <p>I would like to change the value of my gridview column to active when the value is 1.
  I have gridview column like </p>
  
  <pre><code>&lt;asp:BoundField   DataField="STATUS" HeaderText="STATUS" SortExpression="STATUS" HeaderStyle-HorizontalAlign="Left"&gt;
                  &lt;HeaderStyle HorizontalAlign="Left"&gt;&lt;/HeaderStyle&gt;
              &lt;/asp:BoundField&gt;
  </code></pre>
  
  <p>and cs code</p>
  
  <pre><code> protected void gvCategory_RowDataBound(object sender, GridViewRowEventArgs e)
      {
  
          if (e.Row.RowType == DataControlRowType.DataRow)
          {
              if (e.Row.Cells[5].Text=="0")
              {
                  e.Row.Cells[5].Text = "INACTIVE";
              }
          }
      }
  </code></pre>
  
  <p>This is working but it would fail if i change the column order.
  What i need is something like findControl function.
  Thanks.</p>