【Vegas原创】GridView模板列通过ImageButton获取当前列
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);
}
{
divGrdShow.Visible = true;
//获取编辑行的索引
ImageButton imageBut = sender as ImageButton;
GridViewRow Row = imageBut.NamingContainer as GridViewRow;
int id = Row.RowIndex;
bindGridShow(id);
}
喜欢请赞赏一下啦^_^赞赏后请加wx:weyocul,相关文章提到的的安装包稍后给到哦!没有收到赞赏直接加我的,直接无视哈!

浙公网安备 33010602011771号