Results 1 to 5 of 5

Thread: DataSet in Multi tier applications...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89

    Arrow DataSet in Multi tier applications...

    Hi All.

    I have a question(s). We have a multi tiered (more than 3) application. We don't want to use a DATASET to pass from one tier to another. We looked at SQLDATAREADER... but the connection has to be open to use it ... (that is bad)...

    Is there a way to use the SQLDataReader? Or what is a better way?

    Thanks!
    I forgot my password....

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    If you use the SQLDataReader then you need an open and exclusive connection there is no way around that. It has to do with the way the datareader works and being a forward only read only object. It doesn't read the whole data at once it only reads each row as it goes along.

    Why don't you want to pass the dataset around? You could pass XML around.

    There is a small but cool book and tiered design and application structure in this free welcome pack: http://www.vbforums.com/showthread.p...hreadid=262646

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    Thanks!
    I forgot my password....

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    They say the Dataset is heavy weight to pass around... that is why!
    I forgot my password....

  5. #5
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    what about just using a data-table then (part of the data set).

    you could also create your own objects to pass around.
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

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