public override bool add() { clear(); bool exito = false; try { dsGimnasioTableAdapters.detallesalidaTableAdapter ta = new dsGimnasioTableAdapters.detallesalidaTableAdapter(); ta.add(idProducto,CostoUnitario,idSalida); exito = true; } catch (Exception ex) { error.Add(ex.Message); } return exito; }
// Metodo que agrega un registro public override bool add() { clear(); bool exito = false; try { dsGimnasioTableAdapters.detallesalidaTableAdapter ta = new dsGimnasioTableAdapters.detallesalidaTableAdapter(); ta.add(idProducto, CostoUnitario, idSalida); exito = true; } catch (Exception ex) { error.Add(ex.Message); } return(exito); }