Link to home
Start Free TrialLog in
Avatar of Leonard Gojer
Leonard GojerFlag for United States of America

asked on

How to Spell-Out C# Cursor Position in DataTable?

I am writing a database program in C# using Microsoft Access. I have a lot of code written.

I am need of knowing exactly how to spell out an instruction that returns the integer position of the last row fetched with the Find() operation.

Can anyone quickly spell this out for me?
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

That is not possible with the current state of the DataTable/DataRow.  You would have to do some custom work, to create an extended DataRow class to store the row index.  I did it in the past, although I don't have access to that code anymore.
Avatar of Leonard Gojer

ASKER

Question #1: "What is an extended DataRow?"

Question #2: "How does the extended DataRow store the row index?"

Question #3: "Can you direct me to web literature about this topic so that I can get
some ideas of how I write the coding myself?"
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial