Asp.net 中的单选按钮列表
我的问题是我想根据我的要求在数据库中存储实用的每月计划我必须在网络表单中显示每月和3个月的计划
请帮助我我需要使用C#
RadioButtonList ID="rbtnlistProgramPlans" runat="server"
asp:ListItem Text="Practical Monthly Plan" Value="0" **Monthly** asp:ListItem
asp:ListItem Text="Practical 3 Month's Plan" Value="1" **3 Month's** asp:ListItem
每月和3个月的代码显示在用户的网络表单,但我想存储选择的单选按钮列表文本=“实用月度计划”..就像这对我有帮助 我是新的asp.net
My problem is i want to store Practical Monthly plan in database as per my requirement i have to display Monthly and 3 Month's Plan
in webform please help me i need the code with C#
RadioButtonList ID="rbtnlistProgramPlans" runat="server"
asp:ListItem Text="Practical Monthly Plan" Value="0" **Monthly** asp:ListItem
asp:ListItem Text="Practical 3 Month's Plan" Value="1" **3 Month's** asp:ListItem
Monthly and 3 Month's are displayed in webform for user but i want to store which radiobuttonlist is selected that text="Practical Monthly Plan"..like that help me
I am new asp.net
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您当前在 radiobuttonlist 中的列表项是,
但它应该像...
作为开始
之间的文本和
视为显示文本并覆盖 listitem 的 Text 属性
Your current listitem in radiobuttonlist is
but it should be like...
as text between starting
<asp:ListItem> and </asp:ListItem>
consider as Displaying text andoverride Text property of listitem
代码示例:
来自 Microsoft 的更多信息
Code ex:
more info from Microsoft