取回LinkButton 所在的当前行

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

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