本文介绍了关于从radiobuttionlist访问值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.an object x被声明为global.system.web.ui.webcontrols.radiobuttonlist

2.对于那个object.datasource(x.datasource)我们正在分配一个结果

3.我们通过传递一个id来获取存储过程的结果。

4.结果包含一行有3个值

5。我们绑定该对象(x.databind)

6.x.items(0).selected = true写成



for x.selecteditem我看到结果中的第一个值



带有结果的第一个值我需要访问第三个值也是如何做的



我的问题是否可以理解,如果有任何想法如何继续

1.an object x is declared as global.system.web.ui.webcontrols.radiobuttonlist
2. for that object.datasource(x.datasource) we are assigning a result
3. we are getting result from a stored procedure by passing a id to it.
4.The result contains a row with 3 values
5.we are binding for that object(x.databind)
6.x.items(0).selected=true is written

for x.selecteditem i am seeing the first value from result

with first value of result i need to access the third value also how to do that

Is my question understandable if so any idea how to proceed

推荐答案

这篇关于关于从radiobuttionlist访问值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 19:14