Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/11/2008, 08:41
Avatar de vidalsoft
vidalsoft
 
Fecha de Ingreso: julio-2008
Ubicación: /www/...
Mensajes: 339
Antigüedad: 15 años, 9 meses
Puntos: 1
Respuesta: Editar DataGridView y actualizar celdas correspondientes

Ya que nadie reponde , solucione el poblema:

Código:
  If e.ColumnIndex <> 8 Then Return
        Dim value As String = dgvDetalle.CurrentCell.Value.ToString
        Dim row As DataGridViewRow = dgvDetalle.CurrentRow

        Select Case value.ToUpper
            Case "FERIADO"
                row.Cells(6).Value = 11
                row.Cells(7).Value = Val(row.Cells(6).Value) + Val(row.Cells(5).Value) + Val(row.Cells(4).Value)
            Case "FALTA"
                row.Cells(6).Value = 0
                row.Cells(5).Value = 0
                row.Cells(4).Value = 0
                row.Cells(7).Value = Val(row.Cells(6).Value) + Val(row.Cells(5).Value) + Val(row.Cells(4).Value)
            Case Else

                Return
        End Select
__________________
Anthony Vidal Contreras | @AnthonyVidalC | Skype: vidalsystem | [email protected]