++++++++++++++【如何判断RadioButton得到值是否为空?????????】+++++++++++++ RadioButtonList1.SelectedItem.Value请问怎么判断??????? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 如何判断RadioButton得到值是否为空????????? if (RadioButtonList1.SelectedItem.Value == "") //为什么这句有错??{ } 为什么改为 RadioButtonList1.SelectedItem.Value == null 还是有错????????? RadioButtonList1.SelectedItem.Value = true 改为这样还是不行 RadioButtonList1.SelectedItem.Value = true还有这样 RadioButtonList1.SelectedItem.Selected 也不行请大家帮忙啊,怎么判断RadioButton得到值是否为空????????? if (RadioButtonList1.SelectedItem.Value == "") //为什么这句有错??{}写成这样的了if (RadioButtonList1.SelectedItem.Value != string.Empty &&RadioButtonList1.SelectedItem.Value !=null){ ///add some code here!} if(Request.Form["RadioGroup"] != String.Empty)//do something 你是要判断radiobutton的value为空还是没有选中? If Me.RadioButtonList1.SelectItem.value=Nothing then response.write("******")Else response.write("****")End If if (RadioButtonList1.SelectedValue == "") { }用以上的方法 mp4或者在flv 在ipad2 上面的浏览器无法播放问题 在主页面中的按钮事件中动态添加用户控件 使用过ASP.NET MVC的请进来,帮忙解决一个很基础的问题 web网站制作管理系统选择心得交流 网页传过来的值,获取后却是空的,求解 是不是系统的问题????? 刚学asp.net,想找个用c#写的连接mysql的类,大家帮我一下 关于网页右边下拉条问题 谁有fileupload加文本一起传入的代码参考一下吗? 一个应用程序可不可以有二个Global.asax 在上海,这样的程序员月收入如何? 利用iTextSharp填充PDF表单,怎么显示半角日元符号
{
}
还是有错?????????
请大家帮忙啊,怎么判断RadioButton得到值是否为空?????????
{}写成这样的了
if (RadioButtonList1.SelectedItem.Value != string.Empty
&&RadioButtonList1.SelectedItem.Value !=null)
{
///add some code here!
}
//do something
response.write("******")
Else
response.write("****")
End If
{
}用以上的方法