ASP.Net使用RadioButton控件判断性别
来源:互联网 发布:淘宝探路者官方旗舰店 编辑:程序博客网 时间:2024/04/27 19:10
新建一个页面,在页面中放入两个RadioButton控件,分别命名为rbFemale和rbMale
判断用户的选择,默认情况下选中一个
if(rbFemale!=null &&rbFemale.Checked){
//此处可根据自己需要进行选择操作
info.gender=rbFemale.Text;
}else{
info.gender=rbMale.Text;
}
- ASP.Net使用RadioButton控件判断性别
- ASP.NET使用RadioButton控件
- asp.net 性别 单选按钮 操作Radiobutton控件
- asp.net的RadioButton控件的使用
- asp.net 中RadioButton使用心得
- asp.net 判断控件类型
- ASP.NET判断控件类型
- ASP.NET - RadioButton 和 RadioButtonList Web 服务器控件概述
- Asp.NET RadioButton用法
- ASP.NET中 RadioButton(单选按钮)的使用
- asp.net Gridview控件值绑定判断
- asp。net使用登录控件
- asp.net控件使用大全
- DevExpress Asp.net控件使用
- asp.net控件的使用
- asp.net 使用登录控件
- asp.net控件的使用
- ASP.NET使用ImageMap控件
- Torque + Maui配置手册之抛砖引玉篇
- 迈向千兆WiFi必杀:初窥802.11ac/ad标准
- Using the Intel® MPI Library in a server/client setup
- Flex DataGrid多表头实现
- Android系统进程间通信(IPC)机制Binder中的Server启动过程源代码分析
- ASP.Net使用RadioButton控件判断性别
- JAVA知识学习——类的修饰符
- count(1)与count(*)比较
- jQuery性能优化指南
- Spring Bean的5种作用域
- AWStats国家地区扩展GeoIP安装配置
- C#根据WSDL文件生成WebService服务端代码
- Use annotation in Java
- 如何从qiren123.com上抓取bdhd下载链接