Article View: borland.public.cppbuilder.database.ado
Article #338ADODB & Active Form
From: Darl
Date: Wed, 09 Aug 2006 11:20
Date: Wed, 09 Aug 2006 11:20
26 lines
1815 bytes
1815 bytes
NB: I Posted this on the activex group but no body reply so I guess i posted to the wrong group, hence am posting here again Hi, I have an ActiveX Active Form Application (.ocx) which I depolyed via IIS. The Active Form Application is running fine. Now I want to place DBGrid on the Active Form and bind it to a Database on the server, when the Active Form loads on the clients web broswer, the ADOConnection object will be looking for the Database on the client station. How can I direct the adoConnection to connect to the Database on the server. on the loading asp page using server.createObject, I was able to connect to the Database on the server, but then I don't know how to pass the created object to the Active Form for binding to the DBGrid on the Form. Please can any one please direct on how to use an TADOConnection control on an Active Form and have it connect to the Database on the Server. ATTN: [Remy] Thanks All Darl.
Technical Details
Message-ID:
<44d9c50f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,370b7d6759b7a47c,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Darl" <D@nospam.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADODB & Active Form Date: Wed, 9 Aug 2006 12:20:22 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 216.226.225.35 Message-ID: <44d9c50f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155122447 216.226.225.35 (9 Aug 2006 04:20:47 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail