In this section we will talk about CheckBoxList (check list) and RadioButtonList (single choice list). These two controls are generally used to display a column of data that you want to be selected for processing, such as voting!
Let’s talk about CheckBoxList first: What we need to master are the following points
: 1. How to add items yourself
2. Layout method (horizontal/vertical) (table, flow) (position of text and boxes)
3. Read the database content
5. Add another static item for data binding
4. Control events
6. Read out the selected
one. Let’s look at the RadioButtonList (single selection list) again. This control has many similarities with the control above. The only difference is that it is a radio selection, while the one above is a check selection.
Finally, I will add that I won’t show you the specific code in the end, because (I’m lazy) we have roughly looked at each step. In fact, I still hope that everyone will look at the code after doing a good job, so that it will be better for you. It will be quite helpful if you draw inferences from one example. After all, all the current information on the Internet is code. If you can't read the code, it will be a very bad thing!