Results 1 to 2 of 2

Thread: c# = overkill ??

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    37

    c# = overkill ??

    I am having some confusion with datasets.

    when I used vb6 I would retrieve the info from the database then populate the properties of a class with it
    then let the client use that

    But with datasets is there any point in using the propeties??

    Can't you just pass the dataset straight back??

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You can pass it through methods if you want. If all your after is setting properties in a object from it, then maybe it isn't needed. You could just use a datareader to get the results from the db and populate the object properties from it.

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