dataset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yasaman
    New Member
    • Sep 2006
    • 1

    dataset

    My dear friends:
    I have a problem with ADO.Net. I mean I want to use my table(in access) in my project.I use this code to move between fields but I see error


    [B]Me.BindingConte xt(Dsgrade1, "user").Positio n += 1


    Please help me.
    thanks alot
  • angi the dark angel
    New Member
    • Sep 2006
    • 11

    #2
    use currancy manager for navigations
    Originally posted by yasaman
    My dear friends:
    I have a problem with ADO.Net. I mean I want to use my table(in access) in my project.I use this code to move between fields but I see error


    [B]Me.BindingConte xt(Dsgrade1, "user").Positio n += 1


    Please help me.
    thanks alot

    Comment

    • radcaesar
      Recognized Expert Contributor
      • Sep 2006
      • 759

      #3
      Go for CurrencyManager for Navigation purpose

      cm as new directcast(bind ingcontext(myda taset.mydatatab ble),currencyma nager)
      cma.Position = 0
      While Not cma.Current("My KeyField") = keyvalue
      cma.Position += 1
      End While

      :)

      Comment

      Working...