Home | Advertising Info99 USERS CURRENTLY ONLINE   
   Site Search Contact Us Monday, March 30, 2015  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Re: Connecting to a DB
From: Gie Gie
Date: 2/6/1999 11:32:27 AM


Actually you need to establish a connection before you execute a SQL

<OBJECT RUNAT=Server ID=Conn progid="ADODB.Connection"></OBJECT>

You can incl. the above object in your asp then use the following code to open the database

Conn.Open "DSN Name"
Set rs=Conn.Execute( "Select * from table" )

and you can also retrieve the infomation by

These are the method to retrieve execute SQL in ASP.
And you can use RecordSet to Insert or update a db.

Set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = "DSN=user_DSN_name;"
rs.Open( "Select * from Table" )

Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com