![]() |
|
|
Connecting to a Database IntroductionDatabases are a invaluable tool for storing large amounts of data in a structured and organized way. If you had an online store you could use a database to hold all your products details, such as price and availability. Your webpage would need to access the information in the database to display the product and all its details. Another example of information a database could store would be all
the usernames and passwords for a particular website. Once someone
tried to log in their username and password would be checked against
the database, if the username and password were valid (i.e. already
existed in the database) then they would be granted access to the protected
pages of the site i.e. a members area. The 3 main types of databases used with ASP are Access, SQL Server and Oracle. This site primarily deals with Microsoft Access. To benefit from information that a database can hold we need our webpage (our ASP file) to be able to connect to the database. Fortunately this is possible using the objects that Microsoft's ADO technology provides.
Site developed by Michael Wall - Web Design Belfast N.Ireland. |
|