Results 1 to 2 of 2

Thread: webservice

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    webservice

    Hi,
    Is it possible to have a sqlDataReader function in service1.asmx

    i.e.
    public function test() as sqldatareader
    ...
    end function

    It's just that I remember reading somewhere that this may not be possible.
    Thanks

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    No, I don't think that you can implement that. You can return a dataset from a web service because it is serializable. I believe that is what it takes to pass an object. A datareader isn't serializable.

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