Código C:
Ver originaldouble subtotal = 0;
for (int i = 0; i > dgwProforma.RowCount; i++ )
{
subtotal += double.Parse(dgwProforma.Columns["Total"].ToString());
}
txtSubtotal.Text = subtotal.ToString();
txtIgv.Text = (subtotal * 0.19).ToString();
txtTotal.Text = (subtotal + (subtotal * 0.19)).ToString();
Mira ya me sale, pero me vota valor 0 no tengo idea porque ....