|
The samples provided in this section are not complete application modules or
a program. They consist of source code parts that demonstrate the use of the
HTMLXpress in development environment.
We have tried to simplify the source code samples as much as possible so that the sample clearly illustrates the use of the HTMLXpress without the clutter of other operations.
These samples are designed to provide you with a starting point to understand
how the HTMLXpress can be used within your development environment.
The example illustrate a step by step HTMLXpress Database integration. You
can use the sample to see the ActiveX component in action and get an idea about
running your own application.
You will also learn how to use HTMLXpress editor and Cascading
style sheets (CSS). This allows you to give your pages a unique and consistent
design. Therefore, you can have as many pages as you want referencing the same
style sheet. Because all the style information is stored in a single file, it
is easier to maintain and saves space on the Web server.
The files included in the example are .ASP files, Web pages that includes
server VBScript which is executed by Microsoft Internet Information Server (IIS)
and client JScript which is executed by a Internet browser. The script demonstrates
the use of HTMLXpress as editor of HTML content in SQL server DB. We use database
"pubs" that come as a sample with SQL Server.
This example contains the following files:
- Edit.asp - demonstrates capabilities of HTMLXPress as HTML content editor. Demonstrates how to initialize the editor and to set new content.
- Show.asp - reads data from DB and displays the result of the operation, and applies the style sheet definition, according to Demo.css.
- Demo.css - file that contains cascading style sheet definitions.
Click this image on each step of this sample guide to download source code, corresponding to that part of the guide. At the end of this guide you can download the complete source code.
|