Using ASP

Active Server Pages (ASP) is Microsoft's version of PHP for Windows. It is an embedded-HTML, server-side scripting language that can be written in a variety of languages. The most common language is VBScript. Any file ending in .asp is treated as an ASP file and passed through the ASP interpreter.

A great Web site for finding ASP resources is ASP-HELP (http://www.asp-help.com), but there are numerous other ones that can be found using the search engine of your choice.

To connect to a database using ASP, you will need to use a DSN or DSN-less connection string. A DSN connection string requires you to set up a DSN in DSN Administration or SQL Administration (for SQL Server databases). Once there, click on the "View Sample Connection String" link for a number of sample connection strings.

Was this answer helpful?

 Print this Article

Also Read

When Your Web Site Won't Load

There are several reasons why your Web site may not load. To determine the problem, do the...

Setting up a permanent 301 redirect via .htaccess

A permanent 301 redirect in your .htaccess file lets search engines and others know that an old...

Password-Protecting a Web Site

You can password protect areas of your website through the Password Protection tool in your...

Upgrade Database

Copy data from one database to another It's a very simple process and one that can be done in...

Using MySQL

MySQL is the world's most popular open-source database server on the World Wide Web. It is...