Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Acutallly 我想触发项目编辑事件。但是我如何找到控件?我的意思是说,当我们使用 EditItemIndex 在 DataList 的 edititem 事件中找到控件时。ListView 中的 EditItemIndex 等价于什么?
也许你的意思是:
protected void lvDocs_ItemEditing(object sender, ListViewEditEventArgs e) { lvDocs.EditIndex = e.NewEditIndex; //do whatever }//lvDocs_ItemEditing