Results 1 to 2 of 2

Thread: DSN

  1. #1
    Join Date
    Dec 1969

    Default DSN

    I am trying to create a dsn connection however am not sure how do it? <BR><BR>The code for my include file is below for which I am trying to create a DSN connection.<BR><BR>Any help is appreciated. <BR><BR>Thanks<BR><BR>Code<BR>----------&#060;!-- #include file="adovbs.inc" --&#062;<BR>&#060;%<BR><BR>dim db<BR>dim strConn<BR><BR><BR>strConn = "pro"<BR>Set db = Server.CreateObject("ADODB.Connection")<BR>db.open strConn<BR><BR>%&#062;<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: DSN

    DSNs are created in Control Panel -&#062; ODBC Data Sources<BR><BR>it&#039s better (and faster) to use dsn-less connections, though - try www.learnasp.com or www.4guysfromrolla.com for tutorials<BR><BR>j

Posting Permissions

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