gridview中的单选按钮列表 [英] Radio ButtonList in gridview

查看:83
本文介绍了gridview中的单选按钮列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

在我的页面中,我在Gridview中有一个RadioButtonList,在od gridview之外有一个Submit按钮.当我单击提交"按钮时,我想选择单选按钮的值...如何获取?

谢谢

Hi Friends,

In my page I have one RadioButtonList in Gridview and Submit button in outside od gridview. When I click on submit button I want radiobutton selectd value ...How can I get ?

THANKS

推荐答案

在提交"单击按钮上,尝试类似
On the submit click button, try something like
response = (RadioButtonList)row.Cells[i].FindControl("myRadioList");
//Then use response.SelectedValue to get the value


这篇关于gridview中的单选按钮列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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