Accessing databases from ASP+ applications is an often-used technique for displaying data to Web site visitors. ASP+ makes it easier than ever to access databases for this purpose and provides support for managing the data in the database.
For performance reasons, it is highly recommended that only SQL databases be used for Web server applications. Therefore, accessing SQL databases is the primary focus of this section.
The general procedure for accessing databases from ASP+ is as follows:
Of course, to implement such a procedure, there are many details that must be accomplished as well. The subsections that follow present examples showing these details. The discussion in these sections parallels the samples contained in the ASP+ Quick Start program shipped with the NGWS frameworks and runtime.