I am building a C# Windows application with 2 radio buttons for gender. I'm using a simple insert query to insert data in the database. 

Can anyone help me with inserting the selected radio button value to the database? I am using 2 radio buttons, not a radio button list. 

For the moment my query is as follows:

```
Class1.ABC("insert into emp(code,names,m_name,desgnation,gender) 
                        values ('" + textBox1.Text + "','" + 
                                     textBox2.Text + "','" + 
                                     textBox3.Text + "','" + 
                                     textBox4.Text + "','" + 
                                     textBox5.Text + "','" + 
                                     radioButton1.Checked+"' )");

```