|
-
Jun 3rd, 2003, 10:24 PM
#1
Thread Starter
Addicted Member
Best way to retrive data from database trough a class?
Hi
I was just wondering whats is the best way to retrive data from a database trough a class and return it to the calling client, so far i can only think of two
1)Retrive data from a database trough a dataadapter and return as datatable.
2)Retrive data from a database trough dataadapter and assign the return data to the properties of the class, so that the calling client can get the data trough the properties of the class.
Is there any better way then the one stated above?
Thanks
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
|