Results 1 to 10 of 10

Thread: [Resolved] Please evaluate C# code - Beginner level

Hybrid View

  1. #1
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Please evaluate C# code - Beginner level

    Quote 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.

  2. #2

    Thread Starter
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    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
  •  



Click Here to Expand Forum to Full Width