Ultrasound with dye

My husband and I have been TTC for 2+ years, my dr wants me to have an ultrasound done while they shoot dye through my tubes- can anyone tell me what this is like and if it is painful?