|
-
Aug 24th, 2006, 10:47 AM
#1
Re: Please evaluate C# code - Beginner level
 Originally Posted by invitro
Since in the example I am only getting one article, its title, and the picture that is associated with it, would a DataReader not be the best?
Nope. A dataset would be ideal here. You have a chunk of text, a string, and an image. You are not moving anywhere within the data. So, you need a dataset.
Have your method GetArticleById() return a dataset.
-
Aug 24th, 2006, 11:02 AM
#2
Thread Starter
Fanatic Member
Re: Please evaluate C# code - Beginner level
Got it, thanks for the replies all. I will use a DataSet!
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
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
|