Please don't transfer your desire for a daughter onto not only your son(s) - but also onto the granddaughter(s) you may, or equally may not, be fortunate enough to one day have. Why? Because it fucks them up!
My grandmother had 3 sons. Lost a daughter (twin to the 2nd son) in childbirth. Was very close to her own father. Fast forward a good few many years... and my parents get pregnant with me (Gran and my mother had a wary relationship as I have two older [half] brothers and this was the '70s... my mother is also someone who repels the term "family"). My father hoped for a daughter to replicate his (adored, then recently deceased) grandfather's relationship with my grandmother - whilst Gran was hoping I'd be a girl simply to fill that "I want a girl!" gap in her heart. Gran had these notions that she could dress me in frilly pink monstrosities... my mother insisted I wear jeans and jumpers, as I was the proverbial "tomboy". Gran wanted me to have perfect deportment... I walked like Charlie Chaplin's 'Little Tramp' until I was around 6 or 7. Gran expected me to be dainty with blonde hair and blue eyes... I was a sturdy little thing with black hair and brown eyes. The one plus is that I adored my Daddy, and did my utmost to be like him (so I'd throw myself off the Army assault course next to our house, rode horses without fear, and read voraciously). I was not the docile little surrogate daughter my Gran had hoped for - and I certainly wasn't going to be cajoled into being that.
I was very close to my Gran, but that was through her eventual realising that - as PPs have pointed out - that I'm a human being in my own right, not an extension of her (or, indeed, my parents), and definitely not a doll to play dress-up with. I can remember being taken shopping with her as a 4 or 5-year-old and having a stand-off because she wanted to buy me a frilly dress, which I hated even the thought of. And being told off for saying "no" and "I won't wear it" (I wouldn't even try it on). I remember being upset and feeling like my adored Gran didn't even know me - which no child should ever have to feel about anyone in their lives. But it was because she had sons and not the daughter that she wanted. I do wonder if my youngest uncle was only born in an effort to "replace" the daughter she and my grandfather lost at birth 18 months prior - and if she would have kept on trying, had his birth not almost killed her.
When my own daughter was born, there was a bit of a tussle between my grandmother and me over whether or not ballet lessons would be involved in my oldest's life... and yes, there were frilly dresses... but my daughter was the exact opposite of me as a child, and thrived on being perceived as "a girl". She's 26 now and still does. Ironically, though, I suspect that had my grandmother lived long enough to know my 17-year-old son... out of her two great-grandchildren? It would have been my son whom she would have preferred... because he's very like my Dad!
(The two girl cousins born after me were blonde, blue-eyed, and dainty... and my Gran quickly got fed up with their "girly" ness. So be careful what you (a) wish for and (b) might be discarding in the meantime because they're not what you think you want/need in your life!)