0
点赞
收藏
分享

微信扫一扫

【Vegas原创】GridView模板列通过ImageButton获取当前列

北冥有一鲲 2022-09-08 阅读 108

protected void ImageButton2_Click(object sender, ImageClickEventArgs e)

{

divGrdShow.Visible = true;


//获取编辑行的索引
ImageButton imageBut = sender as ImageButton;

GridViewRow Row = imageBut.NamingContainer as GridViewRow;

int id = Row.RowIndex;


bindGridShow(id);

}

 

举报

相关推荐

0 条评论