suxuan 发表于 2010-7-10 12:04

大家帮忙看看这个表单样式怎样改换成这样

<td align="right">到岗时间:</td>
    <td colspan="3">
<SELECT name=workdate id="workdate">
<OPTION value="0" <%if rst("resume_workdate")=0 then response.write "selected" end if%>>随时</option>
<OPTION value="7" <%if rst("resume_workdate")=7 then response.write "selected" end if%>>1周以内</option>
<OPTION value="14" <%if rst("resume_workdate")=14 then response.write "selected" end if%>>2周以内</option>
<OPTION value="30" <%if rst("resume_workdate")=30 then response.write "selected" end if%>>1个月内</option>
<OPTION value="60" <%if rst("resume_workdate")=60 then response.write "selected" end if%>>1~3个月</option>
<OPTION value="90" <%if rst("resume_workdate")=90 then response.write "selected" end if%>>3个月以后</OPTION>
</SELECT>    </td>
这是目前关于到岗时间表单的样式,如图1,我想改成图2样式,可以直接在代码的“值”中替换吗?如果不行应该怎样改呢?
[attach]51679[/attach]
[attach]51680[/attach]

唱一半、的歌 发表于 2010-8-7 20:42

建议你用一组单选按钮,分成5行,这样或许会好点。

qingshuiliu 发表于 2010-8-12 21:08

<asp:RadioButtonList ID="RadioButtonList2" runat="server">
                        <asp:ListItem Text="一" Value="1">
                        </asp:ListItem>
                        <asp:ListItem Text="二" Value="1">
                        </asp:ListItem>
                        <asp:ListItem Text="三" Value="1">
                        </asp:ListItem>
                        <asp:ListItem Text="四" Value="1">
                        </asp:ListItem>
                        <asp:ListItem Text="五" Value="1">
                         </asp:ListItem>
                    </asp:RadioButtonList>


页: [1]

编程论坛