title: GridView Find a Row in Edit Mode
body: <p>I posted similar question before, but I still have some problem with it.
  I use asp.net 4 and c#.</p>
  
  <p>I have a GridView, I have some logic in A) to change the value for every Label present in the GridView (this part of code is working).
  PS: I use even _RowDataBound (Let me know if it is correct).</p>
  
  <p><strong>I need</strong> also apply some logic ONLY for a <strong>single ROW when goes in EDIT MODE</strong>.</p>
  
  <p>Here my code. It works just if the ROW in EDIT MODE is the first one in the GridView. If i put in EDIT MODE for example the 3third row does not work.</p>
  
  <p>Any idea?? Thanks</p>
  
  <pre><code>    protected void uxManageSponsoredContentsDisplayer_RowDataBound(object sender, GridViewRowEventArgs e)
          {
              switch (e.Row.RowType)
              {
                  case DataControlRowType.DataRow:
                  // A) - Some code here
  
                  if (e.Row.RowState == DataControlRowState.Edit)
                  {
                  // Here some logic to apply only to ONE ROW!
  
                  }
                  break;
               }         
          }
  </code></pre>