vb6.0到vb.net Sharp Grid到dataGridView

时间:2013-09-19 06:43:43

标签: vb.net datagridview vb6-migration

我必须将代码从vb6.0转换为vs2010。在Vb6中已经使用了锐格,但当我将它转换为vs2010时,我在以下几行中遇到了问题

productGrid是vb6的Sharp Grid。 productGrid中有13列,第1列是复选框类型。

       'Needed to get the dropdown list to refresh properly
        lRow = ProductGrid.Row
        lTopRow = ProductGrid.TopRow
        ProductGrid.Row = IIf(lRow = 1, 2, lRow - 1)
        ProductGrid.Row = lRow
        ProductGrid.TopRow = lTopRow

0 个答案:

没有答案