ASP Code Snippets

  • Database values to List Box

    1. Database value to List Box Open a database, Connect it, retrieve the values with sql and populate the Listbox with them. <% set objConn=server.createobject(“adodb.connection”)

  • Include files dynamically

    1. Include files dynamically You should use FileSystemObject to achieve this. <% Dim objFS,otf Set objFS = CreateObject(“Scripting.FileSystemObject”) Set otf = objFS.OpenTextFile(server.mappath(“/include/filename.asp”), 1, False) response.write

  • Show server variables

    1. Show server variables This script displays all the server variables in a tabled format. <table width=”70%” align=”center”> <tr bgcolor=”#FF9900″> <td width=”25%”> <div align=”center”><font size=”2″><b><font

ASP Scripts

  • MacroGuest 1.0

    Description : MacroGuest1.0 is a full functional database driven ASP script developed by Macronimous.com. The script can be used as a GuestBook or as a

  • Product of the Day

    POD1.0 is a full functional database driven ASP script developed by Macronimous.com. The script can be used to show your products one per day or