|
-
Feb 3rd, 2004, 08:58 AM
#1
Thread Starter
Member
values from a db into an array
hi,
does anyone have any code to show i could read data from my access db and place the data in an array. I ideally want to just read the primary key from each table (empID from the employee table)
cheers
-
Feb 3rd, 2004, 09:27 AM
#2
Fanatic Member
why don't you just select the primary key in the select statement then? You could use a DataTable object as well if you don't want to use a dataset. You can fill a datatable with a data adapter the same way you do a dataset.
-
Feb 3rd, 2004, 10:23 AM
#3
Thread Starter
Member
thanks for the reply,
sorry but i am a bit new to this so i dont really have the grasp of the language yet. do you have a code snippet or example to demonstrate what you mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|