如何在 .NET 中枚举单选按钮列表?
如何在 .NET 中枚举单选按钮列表?
How can I enumerate a radiobuttonlist in .NET?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何在 .NET 中枚举单选按钮列表?
How can I enumerate a radiobuttonlist in .NET?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
枚举其项目集合 。
Enumerate its Items collection.
不太确定你在这里问什么 - 但如果你只是想枚举这些项目,它...
如果你想获取值,只需使用 .SelectedValue
如果你想在客户端执行此操作获取选定的值 - 您可以使用 jQuery 来获取选定的值...
Not really sure what you're asking here - but if you just want to enumerate thru the items, its...
If you're trying to get the value, just use .SelectedValue
If you're trying to do it client side to get the selected value - you could use jQuery to get the selected value...
RadioButtonList.Items 是一个实现 IEnumerable 的 ListItemCollection。
RadioButtonList.Items is a ListItemCollection which implements IEnumerable.