Formal:
* ¿Cómo estuvo su noche? (This is the most formal option, and is appropriate when addressing someone you don't know well, someone older than you, or someone in a position of authority.)
Informal:
* ¿Cómo te fue la noche? (This is a more casual way to ask, and is appropriate for friends and family.)
* ¿Cómo estuvo tu noche? (This is also informal, but slightly more formal than "¿Cómo te fue la noche?")
* ¿Qué tal tu noche? (This is a very casual way to ask, and is appropriate for close friends.)
You can also ask about specific aspects of the night, such as:
* ¿Te divertiste mucho? (Did you have a lot of fun?)
* ¿Cómo estuvo la comida? (How was the food?)
* ¿Cómo estuvo la fiesta? (How was the party?)
The best way to choose the right phrase depends on the situation.