Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/04/2010, 13:57
gctalico
 
Fecha de Ingreso: octubre-2006
Mensajes: 88
Antigüedad: 18 años, 4 meses
Puntos: 1
Respuesta: Sumar columnas de items en Listview

prueba esto


Código:
Private Sub sumaTotal()
        Dim puntero As Integer = 1
        Dim totales As Decimal = 0
     

        While puntero < Grid1.Rows.Count

            totales = totales + Grid1(3, puntero - 1).Value
            puntero = puntero + 1

        End While

        txttotal.text = totales
    End Sub