I am developing a visitor system..
visitor can visit to many place in one time..
so, I use check box to checked the place they want to go..
in my system there are 3 option of place..
they must checked at least 1 check box..
so, how to store this check box value?
please help me....

Solution 4

set AutoPostBack="true" in Checkbox at design time and also set "OnCheckedChanged" event which will call the code behind function every time when user Select/Deselect CheckBox ...

SO when OnCheckedChanged Event is called in code behind you can write your code which will hit the database and before that check which checkbox is checked by CheckboxName.Checked = True and then call a function which will insert checked Checkbox value into database

Huh? are you the same person who posted the question? Anyway, no one will help you if all you want is the code. Its not the way it works here. You should have started with something and post questions here if you were stuck somewhere.