Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/12/2012, 10:59
and3rsn
 
Fecha de Ingreso: diciembre-2012
Mensajes: 6
Antigüedad: 11 años, 5 meses
Puntos: 0
Respuesta: Problema con Jtable y la BD.

Código Javascript:
Ver original
  1. for(int i = 0; i < t_comp.getRowCount(); i++){
  2.          
  3.        **String Cantidad = t_comp.getValueAt(i, 0).toString();**
  4.        String Codigo = t_comp.getValueAt(i, 1).toString();
  5.        String Descripcion= t_comp.getValueAt(i, 2).toString();
  6.        String Precio_Unitario= t_comp.getValueAt(i, 3).toString();
  7.        String Subtotal= t_comp.getValueAt(i, 4).toString();
  8.        
  9.        this.insertarDatos(Cantidad, Codigo, Descripcion, Precio_Unitario,Subtotal);

Exactamente en la linea que tiene los dos asteriscos, espero tu ayuda, Gracias.