You can let him find out and not tell you. And think of a name you know he will not like and say that is what you are calling the baby if he tells you what it is.
Sometimes I want to know the gender but mostly I would like to be surprised. I really only want to know the gender if it is going to be a girl :( Only because I would need to buy toys we have enough clothing for the first four years.