what is the best way to save data from multiple checkboxes ?? if i have 50 , 60 checkboxes

Is it reasonable to set up a column of 50 or 60 checkboxes for ٍsaving value for each question separately ? and presumably there are questions that have not responded what should i do ??

<div class="form-group">
<div class="form-group">
<label class="control-label">
Moderate
</label>

                            <asp:CheckBox ID="CheckBox2" runat="server" class="form-control"  />
                        </div>  

                           <div class="form-group">
                        <label class="control-label">
                            Heavy
                            </label>

                            <asp:CheckBox ID="CheckBox3" runat="server" class="form-control"  />
                        </div> 


                     <div class="form-group">
                        <label class="control-label">
                           Y
                            </label>

                            <asp:CheckBox ID="CheckBox4"runat="server" class="form-control"  />
                        </div> 
                         <div class="form-group">
                        <label class="control-label">
                          N
                            </label>

                            <asp:CheckBox ID="CheckBox5" runat="server" class="form-control"  />
                        </div> 

and so on ...

In programming, it is reasonable to have those many checkboxes. In usability, it is not because it will be too much work for a user to do in one page. If you have that many questions with each having many checkboxes, group them and/or separated them into smaller number for each page.

For example, you have 60 questions and each can be replied with checkboxes. Break them down to at most 10 questions per page. Do NOT create a question per page because it will be too much work for a user to go through. You may use your common sense of how you would feel when you see this type of question and need to answer them all...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.