Click here to Skip to main content
15,923,120 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
how i can store the selected checkbox =true in database...by default all checkbox status is true bt after it checked i want to do it 'true' so how can i do it??????
Posted
Comments
Sandeep Mewara 16-Jun-12 9:12am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

insert into tbabc (checkboxvalue)values(checkbox1.checked) try this querry it will work
 
Share this answer
 
C#
if (!IsPostBack)
        {
// in this set checked= false value for all checkboxes. 
         );

        }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900