Returning ADO recordset over the internet from ASP

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Returning ADO recordset over the internet from ASP

    Hi,

    I remember seeing (a long time ago) an ADO code snippet that would query a
    local database (Access) and return the result as an ADO recordset that could
    be loaded into a client side VB application....

    Can someone point me in the right direction, I found plenty of sites that
    display data in HTML, but none that "stream" the data back as I remember
    it....

    Thanks in advance

    --
    Mike Collier
    [url]http://www.adoanywhere.com[/url]
    [url]http://www.adoanywhere.com/forum[/url]



    Mike Collier Guest

  2. Similar Questions and Discussions

    1. Recordset returning inconsistent results
      I am developing a php site using mysql and apache. I have finally managed to get a database connection and am trying now to create some...
    2. recordset not returning value from SQL server
      HI There, I am having a little trouble displaying a recordset from SQL Server and I was wondering if someone could have a look at my code to see...
    3. Help - stored procedure not returning a recordset
      I have an ASP page that calls a SQL Server stored proc that should return multiple recordsets, but it appears to be returning something else, or it...
    4. Vb6 object returning ADO Recordset - Error in .NET
      Hi, My C#, ASP.NET application uses com-interop to call a vb6 method which returns a ADO 2.6 recordset. I can successfully call the COM...
    5. Help with Stored Procedure returning recordset
      Hi, Try to add set nocount on in the beginning of procedure. "Scott McDaniel" <junk@junk.com> wrote in message...
  3. #2

    Default Re: Returning ADO recordset over the internet from ASP

    Mike Collier wrote:
    > Hi,
    >
    > I remember seeing (a long time ago) an ADO code snippet that would
    > query a local database (Access) and return the result as an ADO
    > recordset that could be loaded into a client side VB application....
    >
    > Can someone point me in the right direction, I found plenty of sites
    > that display data in HTML, but none that "stream" the data back as I
    > remember it....
    >
    > Thanks in advance
    Here's one way to do it
    [url]http://www.davidpenton.com/testsite/tips/xml.recordset.server2client.asp[/url]

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

  4. #3

    Default Re: Returning ADO recordset over the internet from ASP

    Thanks Bob,

    I don't suppose you know the client side aspect of this in ADO do you?

    IIRC there was a way of specifying the asp page in the SQL text of an ADO
    recordset object (i know that sounds strange)..

    --
    Mike Collier BSc( Hons) Comp Sci
    Get a copy of AdoAnywhere Browser FREE if you register for the forum
    quickly...
    [url]http://www.adoanywhere.com/forum[/url]



    "Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
    news:OtFzedr2DHA.1700@TK2MSFTNGP12.phx.gbl...
    > Mike Collier wrote:
    > > Hi,
    > >
    > > I remember seeing (a long time ago) an ADO code snippet that would
    > > query a local database (Access) and return the result as an ADO
    > > recordset that could be loaded into a client side VB application....
    > >
    > > Can someone point me in the right direction, I found plenty of sites
    > > that display data in HTML, but none that "stream" the data back as I
    > > remember it....
    > >
    > > Thanks in advance
    >
    > Here's one way to do it
    > [url]http://www.davidpenton.com/testsite/tips/xml.recordset.server2client.asp[/url]
    >
    > Bob Barrows
    > --
    > Microsoft MVP -- ASP/ASP.NET
    > Please reply to the newsgroup. The email account listed in my From
    > header is my spam trap, so I don't check it very often. You will get a
    > quicker response by posting to the newsgroup.
    >
    >

    Mike Collier Guest

  5. #4

    Default Re: Returning ADO recordset over the internet from ASP

    This probably cannot be done in client-side code, but I've never tried it in
    server-side code either, so I am not sure. All you can do is try.

    FWIW, this can get a little tricky security-wise. If you keep all your
    database access code server-side, security is a lot easier.

    You can use the XMLHTTP object in client-side code to retrieve data from
    another asp page. Here's a demo which demonstrates this (the dynamic listbox
    demo):
    [url]http://www.thrasherwebdesign.com/index.asp?pi=links&hp=links.asp[/url]

    HTH,
    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From header is
    my spam trap, so I don't check it very often. You will get a quicker
    response by posting to the newsgroup.
    "Mike Collier" <mike@adoanywhere.com> wrote in message
    news:%23XMsfZ72DHA.3416@tk2msftngp13.phx.gbl...
    > Thanks Bob,
    >
    > I don't suppose you know the client side aspect of this in ADO do you?
    >
    > IIRC there was a way of specifying the asp page in the SQL text of an ADO
    > recordset object (i know that sounds strange)..
    >
    > --

    Bob Barrows Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139