Posted on: 4/8/2012 8:59:32 PM | Views : 337

I have 4 radio buttons to choose as an answer and in databse a table named quser with the fields :
qid,uans,result.
I am thinking to do it in this way:
When the user clicks on his answer i.e. radiobutton then it should get stored in the uans field.
How to do this?
I am the beginner so don't have much idea just tried it in this way:
con.Open()
cmd = New SqlCommand("insert into quser (uans) values('" + RadioButton1.Checked + "'||'" + RadioButton2.Checked + "'||'" + RadioButton3.Checked + "'||'" + RadioButton4.Checked + "' )", con)
cmd.ExecuteNonQuery()


And am also confused whether to use individual radiobuttons or directly radiolist?

...

Go to the complete details ...