Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ASP.NET中的RadioButton列表显示_Asp.net_Radiobuttonlist - Fatal编程技术网

ASP.NET中的RadioButton列表显示

ASP.NET中的RadioButton列表显示,asp.net,radiobuttonlist,Asp.net,Radiobuttonlist,我有下面的无线电按钮列表 <asp:RadioButtonList ID="rbl_payment_type" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rbl_payment_type_SelectedIndexChanged"> <asp:ListItem Value="0">Cheque</asp:ListItem> <asp:ListItem Valu

我有下面的无线电按钮列表

    <asp:RadioButtonList ID="rbl_payment_type" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rbl_payment_type_SelectedIndexChanged">
   <asp:ListItem Value="0">Cheque</asp:ListItem>
   <asp:ListItem Value="1">Cash</asp:ListItem>
</asp:RadioButtonList>

支票
现金
显示屏上显示的选项一个接一个

如何在一行中显示所有选项?

使用属性:


没问题,很乐意帮助:)
<asp:RadioButtonList ID="rbl_payment_type" runat="server" AutoPostBack="true" RepeatDirection = "Horizontal" OnSelectedIndexChanged="rbl_payment_type_SelectedIndexChanged">