问题描述
大家好,
我在这里面临很大的挑战.我创建了一个投票系统.在投票表中,我添加了10个专门用于候选人的分组框.
流量:
用户必须在每个框中选择一个职位,然后在他们选择职位时,将在列表视图中填充该职位的候选人.然后,用户在列表视图中选择一个候选人,然后候选人资料将显示在标签上,文本框.与所有其他9个组框相同.然后单击投票"进行投票..
问题:
学校的院系成员不需要这种投票方式..他们想要的只是为每个候选人自动创建一个RADIO按钮....是否有任何方法可以在运行时创建单选按钮,还可以创建代码或事件在每个单选按钮上?
请大家?任何答复,评论或建议都将不胜感激..
顺便说一句..我有用于候选人,职位等的表格..所以系统中的每个数据都是可修改的..我使用带有mysql和工作台作为后端的Visual Studio 2008..
-reymelito
Hello everyone,
I''ve got a big challenge here. I have created a voting system. At the voting form, I added 10 groupboxes there dedicated for the candidates.
Flow:
the user must choose a position in each box then as they choose a position,the candidates for that position will be populated in a listview..then a user selects a candidate in the list view then that candidates profile will be revealed on the labels and textboxes..the same with all other 9 groupboxes..then click VOTE to cast vote..
Problem:
the faculties and panel of the school do not want that style of voting..all they want is to automatically creates a RADIO button for each candidate....is there any way to create radio button at runtime and also create a code or event on each of the radio button?
please everyone? any reply,comments or suggestions are greatly appreciated..
by the way..i have tables for candidates,positions etc..so every data in the system are modifiable..i use visual studio 2008 with mysql and workbench as backend..
-reymelito
推荐答案
这篇关于投票系统:在运行时处理单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!