9494
bang
ni 
up
up
up

解决方案 »

  1.   

    用一副图片,遮住画笔图标主要是图片的位置的问题不大容易把握需要程序判断DataGrid的列
      

  2.   

    可以实现的,在模板中调用后台的函数,在后台根据条件判断所显示的图片
    例:
    <asp:TemplateColumn HeaderText="G5">
    <ItemTemplate>
    <IMG alt="" src='<%# getPicPath(Para1,Para2)>'>
    </ItemTemplate>
    </asp:TemplateColumn>
    后台代码:
    Public Function getPicPath(Key1,Key2) as String
       dim sPath as string   ........  '根据参数得到你要的路径   return sPath
    End Function
      

  3.   

    是winForm中。。
    是不容易
    up一下