The solenoid valve says it requires 24 volts to open, if I remember correctly. Three 9v batteries in series will definitely open the valve. Connect them i series with a switch as shown in the image below.
Some people like to have a rocker switch as a safety, and then use a pushbutton switch for firing. What you do is up to you.