在gridview中等效于container.itemindex [英] what is the equivalent of container.itemindex in gridview
本文介绍了在gridview中等效于container.itemindex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
相当于HTML的itemtemplate中gridview中的container.itemindex,用于检索当前所选行的索引.
请给出合适的答案....
what is the equivalent of container.itemindex in gridview in itemtemplate in HTML ,to retrieve the index of current selected row
please give suitable answer....
推荐答案
您可以尝试详细说明它吗,因为
Gridviewrow gvr = Gridvieww1.Rows [Gridvieww1.SelectedIndex];
应该给您选定的行.
Can u try to elaborate it , because
Gridviewrow gvr=Gridvieww1.Rows[Gridvieww1.SelectedIndex];
should give you the selected row.
我想您正在寻找的是 ^ ]. :thumbsup:
I guess you are looking for GridView.SelectedRow Property [^]. :thumbsup:
这篇关于在gridview中等效于container.itemindex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文