zoukankan      html  css  js  c++  java
  • 【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);
        }
  • 相关阅读:
    Scrapy-02-item管道、shell、选择器
    django类视图的装饰器验证
    django禁用csrf
    django admin
    关系型数据库与非关系型数据库
    LINQ.CS
    测试
    测试
    一个测试
    WPF中的Style
  • 原文地址:https://www.cnblogs.com/amadeuslee/p/3744497.html
Copyright © 2011-2022 走看看