The Lamps

You are in a first floor room of a building without windows, and facing three wall switches, A, B, and C. These are connected to three upstairs lamps whose light you cannot see from downstairs, and you would like to associate each switch with one of the lamps. How can you do this by making only a single trip upstairs?