当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·求助茫然种    »显示摘要«
    摘要: 学了3个月的oracle了, 理论接受了不少,但感觉很空,真正要我做事可能是什么也做不了; 每次我看到公司一套套的 oracle系统驾构起来时,却无法运行这些理论 找到具体驾构方案; 如果要我驾构一套应用系统,我肯定是无从下手, 大家能介绍一些驾构一些应用系统的文章或书籍 给我吗?感激不尽!!! ......
 ·谁有visual assist的注册码    »显示摘要«
    摘要: 谢谢 ......


求助如何用c#获取RadioButtonList控件中选中的Items值

求助?  
  如何用c#获取RadioButtonList控件中选中的Items值  
 

NO.1   作者: acewang

RadioButtonList1.SelectedItem  
  RadioButtonList1.SelectedItem.Text  
  RadioButtonList1.SelectedItem.Value  
  RadioButtonList1.SelectedIndex

NO.2   作者: lemong

RadioButtonList   控件为网页开发人员提供了一组单选按钮,这些按钮可以通过数据绑定动态生成。该控件包含一个   Items   集合,集合中的成员与列表中的各项相对应。若要确定选择了哪一项,请测试列表的   SelectedItem   属性。  
   
  RadioButtonList.SelectedItem.text

NO.3   作者: acewang

RadioButtonList1.Items[3].Selected=true;设定选中项

NO.4   作者: aoyo

最简单的:  
  Request.form["RadioButtonListName"]

NO.5   作者: declude

public   void   Button1_Click   (object   sender,   System.EventArgs   e)  
  {  
         
        if   (RadioButtonList1.SelectedIndex   >   -1)  
    {  
                Label1.Text="You   chose:   "   +   RadioButtonList1.SelectedItem.Text;  
        }  
  }

NO.6   作者: sunpopoapollo

例如:  
  string   str   =   this.RadioButtonList1.SelectedItem.Value;

NO.7   作者: windsoft

SelectedValue

NO.8   作者: tukey

RadioButtonList1.SelectedItem.Text  
  RadioButtonList1.SelectedItem.Value  
  RadioButtonList1.SelectedIndex  
 

NO.9   作者: xyw7899

RBListSex.Items[RBListSex.SelectedIndex].Value.Trim();  
  RBtnListBuyPan.SelectedItem.Value.Trim();


    摘要: 我的activex控件中的pretranslatemessage函数在控件位置变化后就不能响应了,用鼠标点击控件使控件激活函数也会不响应。请问这是什么原因造成的?如何让pretranslatemessage能重新响应消息。先谢谢各位大侠了! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE