日期:2014-05-18  浏览次数:20540 次

RadioButtonList
HTML code

 <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0">否</asp:ListItem>
                        <asp:ListItem Value="1">是</asp:ListItem>
                    </asp:RadioButtonList>




为什么点击的时候selectedvalue总是不变呢?

------解决方案--------------------
您是不是要autopostback=true
------解决方案--------------------
添加AutoPostBack="true"