Tools Links Login

Demonstrating the saving of a recordset to HTML using a HTX like template (only better)

NEW VERSION AT http://www.planet-source-code.com/xq/ASP/txtCodeId.23669/lngWId.1/qx/vb/scripts/ShowCode.htm



With one simple procedure call you can create multiple HTML files based on any recordset and a HTX like template. It is possible to create multiple (nested) grouping levels. It is also possib to create your own constant parameters. The screenshot below and the demo project will show you some of the possibilities of this code.


The code is well commented and not to massive to go through. It uses the underappreciated Split function a lot. Because of the Split function the code is very small and fast.


This code can be useful:

  • When you are not able to access your database dynamically from your web server. You can use this to publish database information.
  • When you need an easy to use and customizable data reporting tool.
  • When the number of data updates is much lower than the web traffic you have. In this case static WebPages will probably give a much smaller server load.
  • If you created your own web server in VB. You can use this to give it functionality to access a database
  • When ...?

  • Original Author: Edwin Vermeer

    About this post

    Posted: 2002-06-01
    By: ArchiveBot
    Viewed: 75 times

    Categories

    Visual Basic 6

    Attachments

    Demonstrat196875172001.zip
    Posted: 9/3/2020 3:45:00 PM
    Size: 159,660 bytes


    Loading Comments ...

    Comments

    No comments have been added for this post.

    You must be logged in to make a comment.