【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);
}
喜欢请赞赏一下啦^_^