Asp.net中让textbox和RadioButtonList在同一行显示 在线等
姓名:
<asp:TextBox ID="tbName" runat="server" TabIndex="1"></asp:TextBox>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2"
TabIndex="2" Width=120px>
<asp:ListItem Value="男" Selected="True" Text="男">
</asp:ListItem>
<asp:ListItem Value="女" Text="女">
</asp:ListItem>
</asp:RadioButtonList>
姓名:
<asp:TextBox ID="tbName" runat="server" TabIndex="1"></asp:TextBox>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2"
TabIndex="2" Width=120px>
<asp:ListItem Value="男" Selected="True" Text="男">
</asp:ListItem>
<asp:ListItem Value="女" Text="女">
</asp:ListItem>
</asp:RadioButtonList>
解决方案 »
- 调试成功,但发布网站后无法浏览
- 选择一个checkbox,来禁用ChekBoxlist的 某项
- asp.net布局
- 过虑xml 非法字符
- select下拉选择宽显示问题 help?
- gridview中嵌入checkbox无法取得check的值!
- 初学.NET,一个奇怪的问题(GridView时显时不显)!
- 请问如何在倒记时结束,连接变成灰色不可用?
- 一个RegularExpressionValidator的验证正则表达的奇怪问题
- 给个用户自定义模板的思路
- 在同一台客户端电脑登陆BS系统,如何让后一个用户的SESSION不覆盖前一个用户的登陆SESSION
- asp.net 重写后页面的自定义控件变样了
<td><asp:TextBox ID="tbName" runat="server" TabIndex="1"></asp:TextBox>
</td>
<td>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2"
TabIndex="2" Width=120px>
<asp:ListItem Value="男" Selected="True" Text="男">
</asp:ListItem>
<asp:ListItem Value="女" Text="女">
</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<div style="float:left">
<asp:TextBox ID="tbName" runat="server" TabIndex="1"></asp:TextBox>
</div>
<div>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2"
TabIndex="2" Width=120px>
<asp:ListItem Value="男" Selected="True" Text="男">
</asp:ListItem>
<asp:ListItem Value="女" Text="女">
</asp:ListItem>
</asp:RadioButtonList>
</div>
</div>