常用代码段集锦

来源:互联网 发布:神作剧情av番号 知乎 编辑:程序博客网 时间:2024/04/29 15:31

1、在GridView的RowCommand事件中得到当前行号
       GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent;