redgar
Member
- Joined
- Feb 28, 2008
- Messages
- 13
- Programming Experience
- 3-5
I have an access database. In the database I have a table that contains an autogenerated number (hospitalNumber). This number is my primary key. I need to be able to access the last item in the column to send that value to another table as I create a new row in it.
The only way I know how access these values is by binding them to my controls and looking through them. How would I access this value directly?
Hope this isn't too vague. I simply don't see anything in my under my dataset.datatable class that would allow me to access individual values nor do I see anything under my bindingsource class.
The only way I know how access these values is by binding them to my controls and looking through them. How would I access this value directly?
Hope this isn't too vague. I simply don't see anything in my under my dataset.datatable class that would allow me to access individual values nor do I see anything under my bindingsource class.