Leonard Gojer
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?
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?
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.
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?"
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.