Subscribe
Tutorial search

ASP Tutorials


We hope that you will enjoy our ASP tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own ASP tutorial to our site. Thank you !

Sort by:
Copying Folders (using File System Object)
Copying Folders (using File System Object)
If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder ot another folder. .
Difficulty:
Grab A HTML Page
Grab A HTML Page
How to grab a file using ServerXMLHTTP class. Using this object you could access and download a remote file out side of your website.
Difficulty:
ASP image resize and convert
ASP image resize and convert
Short sample to resize and convert jpeg, gif and png image files from an ASP page and create on-the-fly Thumbnails using Chart object from Office web components. Live online sample.
Difficulty:
Counting Records In A Database Table
Counting Records In A Database Table
We can count records in a table with these a few lines of codes. First we must send an SQL statement to database engine. Count of records will be first value of resultset. .
Difficulty:
Executing Transact-SQL INSERT statement
Executing Transact-SQL INSERT statement
In this example, we will add some records to a database. This source code helps us to adding records to database without slowing down database. .
Difficulty:
Creating Excel Files Online
Creating Excel Files Online
ASP has the ability to dynamically output any kind of office application format. Before to start coding, The first thing we need to do is set correct file type. Becase the browser needs to know what to do with the file. Second step is to edit file name. You can use HTML and CSS to create styles in your word document. .
Difficulty:
Copying Files using File System Object
Copying Files using File System Object
Sometimes you need to copy files to another folder. First you should require to use FSO (File System Object.) CopyFile method of FSO is the simplest way to copy the files. Following sample code will copy some files to another folder. .
Difficulty:
Executing Transact-SQL DELETE statement
Executing Transact-SQL DELETE statement
In this example, we will delete some records from a database. This source code helps us to deleting records to database without slowing down database.
Difficulty:
How to Encrypt String Using MD5
How to Encrypt String Using MD5
In classic ASP there is no any encrypt function. But you can use this useful source code to encrypt any string data using MD5. MD5 encryption is a one-way hashing algorithm. MD5 is a great advantage because it is speed and easy to use.
Difficulty:
Learn ASP, the basics
Learn ASP, the basics
ASP stands for Active Server Pages. ASP is a server side technology which is used to display dynamic content on the web pages. ASP is becoming popular day by day as the favorite server side technology. ASP in itself isn't a language actually, instead it uses VBScript or JScript to display dynamic content.
Difficulty:
Database Search Engine
Database Search Engine
This sample ASP script we will search a custom query in an SQL database. We will use two custom script in one page and will take query results divided in pages. before starting to use this script, you must modify sql query and database connection.
Difficulty:
How to Grab A HTML Page Within an ASP
How to Grab A HTML Page Within an ASP
There is a very cool way to download or grab a file using ServerXMLHTTP class. Using this object you could access and download a remote file out side of your website.
Difficulty:
Working with Array : Remove An Item
Working with Array : Remove An Item
Working with arrays could be painful if you could not remove any item after adding them in an array. Arrays are very helpful in programming languages, but in ASP it is not so easy. VBScript does not contains strong functions to remove any item form your array list. Here there is a good ASP code block will be helpfull for your to remove and re-organized your array.
Difficulty:
Disable Error On ASP Codes
Disable Error On ASP Codes
Unexpected errors can stop programs and your application coul be down immadiately. But 'On Error Resume Next' funtcion help you to avoid to stop unexpected errors on code. All you need to put this code after a code block.
Difficulty:
An Useful Method : RecordSet.Filter
An Useful Method : RecordSet.Filter
Filter method is very useful working with large datasets. You might need to put only some records from your database but you should select all data from database. Filter method is advantage working on recordsets after querying on SQL command.
Difficulty:
Total Tutorials in Category: 581