aspx griedview单行选择代码并获取选定的行值 [英] aspx griedview single row selection code and fetch selected rows values
本文介绍了aspx griedview单行选择代码并获取选定的行值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
aspx griedview单行选择代码并获取选定的行值
aspx griedview single row selection code and fetch selected rows values
推荐答案
使用SelectCommandField
在GridView中选择一行.
触发GridView
的RowCommand
事件.使用此事件可以访问选定的行值并执行所需的任何操作.
非常重要:请不要在此处要求输入验证码.首先,为自己尝试一些问题,如果遇到问题,请提出一个很好的问题.我们随时准备帮助那些自助的人.
是的,您不需要为帮助付费,因此您无需提出要求.
我给您提供了一个良好的开端,希望您能够利用. :)
:thumbsup:
Use SelectCommandField
to select a row in a GridView.
It firesRowCommand
event of theGridView
. Use this event to access the selected row values and do whatever you want.
Very Important: Please don''t ask for codes here. First try something for yourself, if you have issues, come up with a good question. We are always ready to help those who help themselves.
And yes, you don''t pay for helping so don''t demand rather request.
I have given you a good start, hope you will capitalize. :)
:thumbsup:
这篇关于aspx griedview单行选择代码并获取选定的行值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文