I have table with Gender Column.. it is nvarchar(1) column named as "empsex" which hold "M" if employee is male and "F" if employee is female.. really i onfused with binding this one column to two radio buttons.. if someone know the way.. please help me.. thanx..

Setting the radiobutton checked property will do the work

rbmale.Checked = (empsex = "M")
rbfemale.Checked = (empsex = "F")

Hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.