New Scripts | ASP | Tutorials & Tips
Create a text file using ASP
posted bycontactinFile Manipulation
Shows how to create a text file using the File Scripting Object.
Reviews0
PriceFree
Views5114
Delete records with sql statements
posted bycontactinDatabase-related
Learn how to delete records with an SQL instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection.
Reviews0
PriceFree
Views2018
Access and SQL Server DSN-LESS connections
posted bycontactinDatabase-related
There are a few different ways to connect to an Access database using a DSN-LESS connection. You can use the Access driver, an OLEDB provider connection, a physical path or a virtual path. Here is an example of each as well as a DSN-LESS SQL Server connection.
Reviews0
PriceFree
Views3266
Edit records with sql statements
posted bycontactinDatabase-related
Learn how to edit records with an SQL statement instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection.
Reviews0
PriceFree
Views2129
Add records with sql statments
posted bycontactinDatabase-related
Learn how to add records with an SQL statement instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection.
Reviews0
PriceFree
Views2479
Populate dropdowns from your database
posted bycontactinDatabase-related
Dropdowns or combo boxes are an excellent way to get input from a user. One of the biggest problems with user input is spelling and formatting. Here is how to use and populate dropdowns from a database.
Reviews0
PriceFree
Views3183
Using Include FIles
posted bycontactinContent Management
As a website gets bigger it can become more difficult and time consuming to maintain. One way to help manage this is with the use of include files. Using includes will cut down on time by limiting the amount of code or html you will have to add to new pages or time spent updating existing pages.
Reviews0
PriceFree
Views2643
Always Updated Copyright
posted bycontactinMiscellaneous
Never worry about your copyright being out of date again.
Reviews0
PriceFree
Views1375
Last Updated
posted bycontactinFile Manipulation
A code snippet to display the last modified date for any given file dynamically. Every time the file is modified this info is written into the file. The FSO knows just how to read that for you.
Reviews0
PriceFree
Views2442
Quick Cookie 101
posted bydougrathboneinCookies & Sessions
This quick and simple tutorial gives you an quick idea on how cookies are set & read by your scripts. Cookies are a quick and easy way to add any form of interaction to your site this tutorial gives you a quick 101 on how to use them in your scripts. A tutorial worth a read for both beginners and advanced.
Reviews0
PriceFree
Views3029
WiredNow.net: SQL Reserved Words
posted bydougrathboneinDatabase-related
It is an often problem with database intergration when you use a reserved word. Often asked why a script does not work and it quite often comes down the the author setting a field name as a reserved word, confusing SQL and making debugging hard. To solve this problem here is a quick list of the SQL Reserved Words.
Reviews0
PriceFree
Views1448
Wielding the Power of the DataView
posted byarticlesinDatabase-related
When faced with learning a new technology, it's common to try and reproduce the basic functionality you're used to in the old one. In doing that with ADO.NET and trying to reproduce the basics or the recordset object, this article discusses the new and many uses of ADO.NET's DataView object.
Reviews0
PriceFree
Views1479
Uploading and inserting files (binary data) to the database
posted byfaisalinDatabase-related
Step-by-step tutorial on how to upload files (images, text, other documents, etc) using plain ASP pages to the database. Every step has been explained in detail. Downloadable source code available.
Reviews0
PriceFree
Views4381
How to register/unregister an ActiveX DLL remotely using plain ASP
posted byfaisalinComponent Building
This very important article describes in detail what you need to know to register / unregister ActiveX ( COM Component ) DLLs remotely using only plain ASP pages. Must read for all ASP developers. Everything has been explained in detail.
Reviews0
PriceFree
Views4735
The Len() Function
posted byderekinDevelopment
Overview and a quick example of the Len() function that calculates the LENGTH of a string.
Reviews0
PriceFree
Views1741
SQL Reserved Words
posted byderekinDatabase-related
Many times people will make the mistake of naming a database field with an SQL Reserved word. This is an easy mistake to make. It's hard to remember every single one. Here's a concise listing of SQL Reserved words to help you along.
Reviews0
PriceFree
Views1623
Left() Mid() Right()
posted byderekinDevelopment
There will come a time when you need to dice up a string which is all one word or a number. In this particular case, Split() won't work for you. This page explains how Left() Mid() and Right() work.
Reviews0
PriceFree
Views3526
Simple Counter Using Graphics
This example is a simple counter using graphics to display the numbers that will only show page views, not actual visitors. It uses the File Scripting Object to interact with a text file.
Reviews0
PriceFree
Views2361
Displaying binary data from the database using plain ASP
posted byfaisalinDatabase-related
Step-by-step tutorial on how to display uploaded binary files from the database using plain ASP pages. Every step has been explained in detail. Downloadable source code available.
Reviews0
PriceFree
Views2458
Using The Split() Function
posted byderekinDevelopment
Often times it is necessary to take a string and dice it up in order to extract portions to be used for some obscure purpose. Enter the Split() function. Split is a very easy concept to grasp. Decide where you want to split your string and away you go.
Reviews0
PriceFree
Views4042