Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MoveNext

Status
Not open for further replies.
Joined
Jan 7, 2005
Messages
124
Location
US
I am trying to figure out how to implement MoveNext functionality like in VB6. Something like:
Code:
Private Sub cmdNext_Click()
  
  rs.MoveNext

End Sub

Private Sub cmdPrevious_Click()

  rs.MovePrevious

End Sub

this shouldn't be that hard but for some reason I cannot figure it out. Many thanks.
 
You don't have recordsets and cursors in ADO.Net.

You have a CurrencyManager, with a .Position property, which you can set.

So you can use it in a method such as MyCurrencyManager.Position += 1
 
You have a CurrencyManager, with a .Position property, which you can set.

So you can use it in a method such as MyCurrencyManager.Position += 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top