Hello Experts,

How can i save the optionbutton and checkbox value in sql database?
please send the query:
dim cmd as new sqlcommand("insert into [tablename] values(........)",c.con)
please help me :)

The checkbox.checked (=True or False) is a pretty good way.

"insert into table (field1) values ('" & checkbox.checked.tostring & "')"

The checkbox.checked (=True or False) is a pretty good way.

"insert into table (field1) values ('" & checkbox.checked.tostring & "')"

thankyou so much:sweat:

You are welcome. If this has solved your problem, please mark this thread as closed.