title: Highlight most recently inserted row GridView asp.net
body: <p>I have a paging GridView in my ASP.NET project in which I do insertions of human resources into a database. My GridView loads everytime all the human resources inserted into the data base. 
  Now  everytime I add  a new row (human resource) or modify an existing one, I want it to be highlighted in the grid to make clear to the user that the operation was executed. I haven´t found a good way yet and the fact that the gridview is paged makes it more complex. I would appreciate some help :)</p>
  
  <p>I'm adding the rows by binding de grid with a dataTable:</p>
  
  <pre><code>protected void llenarGrid()        //se encarga de llenar el grid cada carga de pantalla
      {
          DataTable recursosHumanos = crearTablaRH();
          DataTable dt = controladoraRecursosHumanos.consultarRecursoHumano(1, 0); // en consultas tipo 1, no se necesita la cédula
  
          Object[] datos = new Object[4];
  
  
          if (dt.Rows.Count &gt; 0)
          {
              foreach (DataRow dr in dt.Rows)
              {
                  datos[0] = dr[0];
                  datos[1] = dr[1];
                  datos[2] = dr[2];
                  int id = Convert.ToInt32(dr[3]);
                  String nomp = controladoraRecursosHumanos.solicitarNombreProyecto(id);
                  datos[3] = nomp;
                  recursosHumanos.Rows.Add(datos);
              }
          }
          else
          {
              datos[0] = "-";
              datos[1] = "-";
              datos[2] = "-";
              datos[3] = "-";
              recursosHumanos.Rows.Add(datos);
          }
          RH.DataSource = recursosHumanos;
          RH.DataBind();
  
      }
  
  
  
     protected DataTable crearTablaRH()
      {
          DataTable dt = new DataTable();
          dt.Columns.Add("Cedula", typeof(int));
          dt.Columns.Add("Nombre Completo", typeof(String));
          dt.Columns.Add("Rol", typeof(String));
          dt.Columns.Add("Nombre Proyecto");
          //dt.
          return dt;
      }
  </code></pre>