ADO.NET: how can I read next record after DataTable.Find - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ADO.NET: how can I read next record after DataTable.Find

W vd StaayW vd Staay Posts: 2Member
Does anybody know how I can read the next record after a find:
DataTable.rows.find(Name).

after the next button I do:
currentRow = CurrentRow + 1, how can I update the CurrentRow after the find, I can't find a propertie for CurrentRow.

thanks in advance.

Wim


Comments

  • bharatnandabharatnanda Posts: 1Member
    : Does anybody know how I can read the next record after a find:
    : DataTable.rows.find(Name).
    :
    : after the next button I do:
    : currentRow = CurrentRow + 1, how can I update the CurrentRow after
    : the find, I can't find a propertie for CurrentRow.
    :
    : thanks in advance.
    :
    : Wim
    :
    : hiiiii
    :
    I think that DataTable.Rows.IndexOf() might help you.....

    Hope this works.

  • W vd StaayW vd Staay Posts: 2Member
    : : Does anybody know how I can read the next record after a find:
    : : DataTable.rows.find(Name).
    : :
    : : after the next button I do:
    : : currentRow = CurrentRow + 1, how can I update the CurrentRow after
    : : the find, I can't find a propertie for CurrentRow.
    : :
    : : thanks in advance.
    : :
    : : Wim
    : :
    : : hiiiii
    : :
    : I think that DataTable.Rows.IndexOf() might help you.....
    :
    : Hope this works.
    :
    :


    That's it, thanks.

    Wim
Sign In or Register to comment.