Princes William and Harry formed a human chain to unload sandbags from an Army vehicle as they joined colleagues from the armed forces in helping to defend Datchet from the floods.
The private visit was unannounced but once news of their work spread, they were followed by journalists and cameramen.
Asked by ITV News whether he was enjoying helping, Prince Harry replied: "Not really with you guys around".
More top news
Kids Company founder Camila Batmanghelidjh to leave the children's charity, blaming politicians 'ugly games' and austerity for her decision.
A prison officer - who was allegedly assaulted by a prisoner at a crown court - has died.
The body of the girl, who is thought to be about four, was found washed up in a bag in Boston.