Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











PROPERTY:  DataControl::Server

string = datacontrolobject.Server
datacontrolobject.Server = string


The Server property gives the Web server location where the queries and updates for the DataControl object are processed. This can be the HTTP or HTTPS URL, the name of the machine (computer) for DCOM, or the empty string "" which signifies local in-process.

You must use the Connect property to designate the server where your data source is stored.

You can create a form on a Web page to input values for the various DataControl properties and use Request.Form( ) to assign the values:

Code (VBScript):
objDC.ExecuteOptions = Request.Form("ExecuteOptions")
objDC.FetchOptions = Request.Form("FetchOptions")
objDC.InternetTimeout = Request.Form("InternetTimeout")
objDC.Server = Request.Form("Server.Value")
objDC.SourceRecordset = Request.Form("SourceRecordset")
objDC.SQL = Request.Form("SQL")
objDC.URL = Request.Form("URL")
objDC.Connect = Request.Form("Connect")
objDC.Refresh

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information