Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/03/2010, 15:59
Avatar de HiToGoRoShi
HiToGoRoShi
 
Fecha de Ingreso: abril-2008
Mensajes: 849
Antigüedad: 16 años, 1 mes
Puntos: 31
Respuesta: Õbtener el valor X,Y de un datagridview C#

Código C:
Ver original
  1. double subtotal = 0;
  2.  
  3.                     for (int i = 0; i > dgwProforma.RowCount; i++ )
  4.                     {
  5.  
  6.                         subtotal += double.Parse(dgwProforma.Columns["Total"].ToString());
  7.                     }
  8.  
  9.                     txtSubtotal.Text = subtotal.ToString();
  10.                     txtIgv.Text = (subtotal * 0.19).ToString();
  11.                     txtTotal.Text = (subtotal + (subtotal * 0.19)).ToString();


Mira ya me sale, pero me vota valor 0 no tengo idea porque ....