zoukankan      html  css  js  c++  java
  • DataGrid利用imagebutton实现删除操作

    删除操作如图所示:

    实现步骤:
    1.在datagrid中创建模板列
    2.在模板列中加入imagebutton并为其指定ImageUrlCommandName,代码如下:
    aspx代码
    3.在datagrid的ItemCommand事件中添加如下代码
    单击删除图标时触发

    4.在datagrid的ItemCreated事件中添加如下代码
    .cs代码


    作者:青羽
  • 相关阅读:
    hdu 1166 敌兵布阵
    linux(debian)系统django配远程连接sqlserver数据库
    [机器学习] Coursera ML笔记
    UICollectionView使用方法补充(照片轮播墙)
    word中公式的排版及标题列表
    FZOJ2110: Star
    Windows 下的 Makefile 编写
    掌握VS2010调试 -- 入门指南
    Visual Studio 2010初学者的调试指南:Mastering Debugging in Visual Studio 2010
    AlphaGo:用机器学习技术古老的围棋游戏掌握AlphaGo: Mastering the ancient game of Go with Machine Learning
  • 原文地址:https://www.cnblogs.com/tenghoo/p/525863.html
Copyright © 2011-2022 走看看