取回LinkButton 所在的当前行

 LinkButton button = (LinkButton)sender;
 GridViewRow gvr = button.NamingContainer as GridViewRow;
 int ri=gvr.RowIndex;

posted @ 2013-12-28 18:55  BB林业  阅读(150)  评论(0编辑  收藏  举报