如何以编程方式在单选按钮中添加项目 [英] how to add item in radiobutton progmatically

查看:68
本文介绍了如何以编程方式在单选按钮中添加项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能帮助我如何通过编程方式将列表项添加到单选按钮.我的情况是,当用户从下拉列表中选择值之一时,单选按钮将可见.单选按钮中的项目取决于用户之前从下拉列表中选择的内容.是否可以?


thanx.

Hi,

can anyone help me how to add listitem to radiobutton progmatically. my situation is when user select one of the value from dropdown list then a radiobutton will be visible.the item in radiobutton is depend on what user select from dropdownlist before.is it possible?


thanx.

推荐答案

尝试以下操作:

ASP.NET中的RadioButtonList控件
将ListItem添加到RadioButtonList
如何以编程方式在RadioButtonList中添加列表项
Try following:

RadioButtonList Control in ASP.NET
Add ListItem to RadioButtonList
How to add list item in RadioButtonList programmatically


查看此链接Asp.NET论坛.以编程方式选择单选按钮 [< ^ ]
See this link Asp.NET forum.Radiobutton Programmatically[^]


这篇关于如何以编程方式在单选按钮中添加项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆