public int getBestellingById(int id){
		int inbestelling = 0;
		try {
			this.leesDatabase();
			statement = con.createStatement();
			rs = statement.executeQuery("SELECT inbestelling FROM voorraad where id='"+ id +"'");
			
			while (rs.next()) {
				inbestelling = rs.getInt("inbestelling");
			}
			
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return inbestelling;
		
	}