本文介绍了如何在gridview中的多行的同一下拉列表中使用selectedindexchanged的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我回答。

如何在gridview中的多行同一下拉列表中使用selectedindexchanged。

Please give me answer.
how to work selectedindexchanged on same dropdownlist of multiple row in gridview.

推荐答案

引用:

如何在gridview中的多行的同一下拉列表中使用selectedindexchanged。

how to work selectedindexchanged on same dropdownlist of multiple row in gridview.

据我所知,你想要触发相同的 SelectedIndexChanged 所有行中所有 DropDownLists 的事件。



如果是这种情况,只需在标记中提及 DropDownList 的事件名称,该名称位于 GridView 内。就是这样。

As far as I understand, you want to fire the same SelectedIndexChanged Event for all the DropDownLists in all the rows.

If this is the case, just mention the event name for the DropDownList in markup, which is inside the GridView. That's it.


这篇关于如何在gridview中的多行的同一下拉列表中使用selectedindexchanged的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 12:12