Click here to Skip to main content
15,943,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a combo box for select type (Mr and Mrs) I want to generate gender by that combo box . I need to send that value for database. If select Mr value is Male other Female.

What I have tried:

I’m not try anything yet because i am beginner
Posted
Updated 9-Dec-22 5:14am

1 solution

I'd cancel the whole idea of a "Mr" and "Mrs" box, and provide a "Gender selection" box instead if you must - "Mrs" alone will (understandably) upset some people as it's often seen as harking back to days when wives were effectively chattels owned by a husband. "Miss" implies the same, but with an added overtone of "not married yet". "Ms" is safer, but even then you risk offending non-binary genders such as LGBTQ+

Unless you have a definite requirement for a gender specific prefix, it's probably a good idea not to even include one but use a formal / informal name instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900