예제 #1
0
 protected void GvVerificar_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName.ToString().Equals("Select"))
     {
         int index = Convert.ToInt32(e.CommandArgument);
         GvVerificar.SelectRow(index);
     }
 }
예제 #2
0
 private void CargarGridVerificar()
 {
     WCFSolicitud.SolicitudClient Cliente = new WCFSolicitud.SolicitudClient();
     GvVerificar.DataSource = Cliente.ListarSolicitudesVerificar();
     GvVerificar.DataBind();
     if (GvVerificar.Rows.Count > 0)
     {
         GvVerificar.SelectRow(0);
     }
 }