打印本文 打印本文 关闭窗口 关闭窗口
如何实现将vsflexgrid中修改的数据反馈到数据库中
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3756  更新时间:2009/4/22 23:09:09  文章录入:mintao  责任编辑:mintao
rce = rs
        .RowOutlineLevel(1) = 1
        .IsSubtotal(1) = True
    
    For lngY = 1 To .Rows - 1
        intT = Len(.TextMatrix(lngY, 0)) - Len(Replace(.TextMatrix(lngY, 0), ".", ""))
        .RowOutlineLevel(lngY) = intT
        .IsSubtotal(lngY) = True
    Next
    .OutlineCol = 0
    .OutlineBar = flexOutlineBarSimpleLeaf
    
End With 


  
Set VSFlexGrid1.DataSource = Rs''''这一步一定要有,
With VSFlexGrid1
           .DataRefresh
           
           .Sort = flexSortGenericDescending''''排序
        
 End With

上一页  [1] [2] [3] [4] [5] 

打印本文 打印本文 关闭窗口 关闭窗口