In VB6, I got the following codes, how to do the same in VB 2005?
It set the rows(i) to be displayed in screen. but in VB.net, there is no TopRow.

vb.NET Code:
  1. If (Grid.RowIsVisible(i) = False) Then
  2.                     If (Grid.Rows - 7) < i Then
  3.                         Grid.TopRow = (frm_korea.KRIDMapGrid.Rows - 7)
  4.                     Else
  5.                         Grid.TopRow = i
  6.                     End If
  7.                 End If