How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Ordinal dates (st, nd, rd, th) - ASP tutorial
What is an ordinal date? Or more accurately; which part of a date is the ordinal? In answer the first question; an ordinal date is a date that is part of an order (in my layman’s understanding) that is “Tuesday the second of August”, “Wednesday the third of August”.
More cool ASP tutorials:
Two Table Join
Outputting data from two tables is almost as easy as displaying from one. This example utilizes two tables with state information on them. The first table (state_order) contains state abbreviations (state), state names (statename) the year each state was admitted into the union (year) and the numeric order they entered in (entered). The second table (state_capitals) contains state abbreviations (state), state names (state) and state capitals (capital). The where statement looks to make a match on the field that each table has in common to ouput the correct capital with all the info from the state_order table.
Display an Excel DB
The author writes "For small data bits on a server where the chance for significant simultaneous traffic is not likely excel can perform many of the basic tasks that can be accomplished in Access or SQL Server, but on a much smaller scale." This exmaple code demonstrates how to display data from Excel using sample data of Hank Greenberg's career statistics. Example code available for download.
Reading Flash File Information (.swf) through an ASP Page
This is a simple tip that presents an ASP class that can read the properties of a Macromedia Flash file (a .swf file). You can use this handy class to read the height, width, version, file length, twips readings, frame rate, and frame count of a Flash file on your Web server.
Installing Internet Information Server (Win XP Pro)
Learn how to install Internet Information Server(Win xp pro).
Use an include file for your database connection
Use an include file for your database connection. Here's the reason why. Before I wised up to this, I was placing the connection on every page. Then there were some configuration changes and none of the pages worked. This meant that every page had to be edited.