Results 1 to 2 of 2

Thread: Connectionstring

  1. #1
    Join Date
    Dec 1969

    Default Connectionstring

    How do you find out if a Connection String worked? I get no errors and my code does not work. Does ASP return some kind of a status code?<BR><BR>Thankyou.

  2. #2
    Join Date
    Dec 1969

    Default RE: Connectionstring

    Among other things, you can try...<BR><BR>response.write cn.status & "&#060;/p&#062;&#060;p&#062;"<BR><BR>This will give a status of 0 if the connection didn&#039t open and 1 if it did. You can also try view source to see if an error occurred.

Posting Permissions

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