Solenoid with LCD!!!

thanks Graynomad !
ok , if I want to contronl it how can I write the code ??? where should I wire the LCD ???