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.
嗨,我在我的 gridview 中绑定,OnRowCreated事件到每一行跟随 javascript 代码
OnRowCreated
e.Row.Attributes["onclick"] = ClientScript.GetPostBackClientHyperlink(this.GridViewCategory, "Select$" + e.Row.RowIndex);
现在我的问题是如何rowIndex在回发中检索它?
rowIndex
处理SelectedIndexChanging事件