public bool?ActualizarPrecios() { GestionDataSetTableAdapters.QueriesTableAdapter QTA = new GestionDataSetTableAdapters.QueriesTableAdapter(); int Changes = QTA.update_articlePrice(IdUser, Id, PrecioNeto, IVA, PrecioCompra, PorcentajeGanancia, PrecioFinal); if (Changes == 1) { return(true); } else { if (Changes == 0) { return(false); } else { return(null); } } }