
| email this FAQ to a colleague
Q: Does anyone know if it is possible to call a Sub or Function in one .asp from another .asp? A: No, .asp files are compiled separately and the instance only exists for the life of the request. In order to call a subroutine in another .asp file that .asp would need to be instantiated. Yes, you can have a separate file that contains the subroutine code, including this file in two .asp files will share the code. Since include are processed before the code is compiled there is be two compiled copies of the same subroutine, each called from the .asp page that included it. - Wayne Berry | Articles | | Jul 5, 2000 - Point the Way with Graphics | | IImages may also be used via the ASP Request Object. This article will
show you how the use the Request.Form("ImageName.X") property for such tasks as
record navigation (e.g. << Record 1 of 15 >>) or column headings for HTML tables
may use images rather than buttons.
type = "SUBMIT") are the common mechanism to allow the user to request actions from
your Web site. Images may also be used via the ASP Request Object. This article will
show you how the use the Request.Form("ImageName.X") property for such tasks as
record navigation (e.g. << Record 1 of 15 > >) or column headings for HTML tables
may use images rather than buttons. [Read This Article] [Top] |
| | | Aug 5, 1999 - Writing ISQL_w in ASP | | In this article Christophe Berg show you how to build our own iSql with ASP and ADO 2.0. Using ASP you can build a database administration page that will allow you to modify your database from your browser. It’s both easy to implement and very useful, and it’s a good way to see how to work on a database with ASP. [Read This Article] [Top] |
| | Jul 31, 1997 - Creating a Category Site with ASP | | In this issue 15 Seconds implements a catalog site that is build with Active Server pages and SQL Server. Along with the implementation there is source code and a discussion of the advantages and disadvantages of creating a catalog site that gets its content from a database. Included are pages for displaying products, creating a menu page, category page, and running a search across a database. [Read This Article] [Top] |
|
|