0

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 :)

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by adam_k
0

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

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

Edited by adam_k: n/a

0

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

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

thankyou so much:sweat:

0

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

Edited by adam_k: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.