•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 391,711 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,416 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 2662 | Replies: 1
![]() |
•
•
Join Date: Jul 2005
Location: Dallas, TX
Posts: 481
Reputation:
Rep Power: 4
Solved Threads: 19
are you looking for something like this?
Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.ConnectionTimeout = 60
dbConn.CommandTimeout = 300
dbConn.Open "DSN=DSNNAME;DATABASE=DATABASENAME","USERNAME","PASSWORD"
Set rsCustomers = Server.CreateObject("ADODB.RecordSet")
rsCustomers.ActiveConnection = dbConn
strSQL = "Select * From Customer where customerid = 1"
rsCustomers.Open strSQL,,1,3
If NOT(rsCustomers.EOF) Then
customerName = rsCustomers("CustomerName")
password = rsCustomers("CustomerPassword")
End If
rsCustomers.Close
Set rsCustomers = NOTHING
dbConn.Close
Set dbConn = NOTHING![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
- Need Freelance ASP.NET, MS SQL, C#, VB.NET Developer (Web Development Job Offers)
- Freelance Developer ASP.NET / VB.NET / C# / VB / ASP & Crystal Reports (Web Development Job Offers)
- PHP, ASP, ColdFusion, what's your fav? (IT Technologies and Trends)
- ASP.NET Freelance Programmer / Developer (IT Careers and Business)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- tool for converting java/sql codes to asp.net/sqol2000 (Java)
- run sql statement in asp (ASP)
- ASP and SQL ? (MS SQL)
Other Threads in the ASP Forum
- Previous Thread: ASP: Deleting a file
- Next Thread: ASP help for newbie


Linear Mode