There are a few different
In order to connect to an
This is a complete tutorial
This is a sample code that
ways to connect to an Access
Acees database with ASP
on adding records to the
combines a Database Paging
database using a DSN-LESS
through ODBC using a DSN
database via ASP for
and a Database Search script
connection. You can use the
file, you'll need to have
beginners. Both Connection
into one. It shows you how
Access driver, an OLEDB
full access to the server to
and Recordset Objects
to perform a wilcard search
provider connection, a
create the DSN file,
discussed. Also get an
on a database table and then
physical path or a virtual
something that can be
insight on 'insert' SQL
page through the results.
path. Here is an example of
difficult if your site is
statement.
each as well as a DSN-LESS
hosted somewhere. This
SQL Server connection.
lesson will teach you an
alternative connecton
method, a DSN-less
connection. As tests has
shown, an DSN-less
connection to Access gives
you better performance. You
can have up to 20-30
simultaneous users on the db
without problems.
Date: Aug, 05 2002 Date: Mar, 12 2000 Date: Mar, 25 2000 Date: Apr, 25 2001 |
Adding a record from a
This is an example code
ODBC is great and all but for
Displaying specific subsets
database table is a simple
showing how to conduct
speed and reliability you
of data from a database is
task. Fill out the form
searches on a database to
should switch to OLE DB to
easy to accomplish in .asp.
below and click submit. The
display hyperlinked
power your database driven
The following example
sql statement will be
summaries that can be
apps. This tutorial will
utilizes an Access database
generated for you.
clicked on to display detail
show you how to do it two
of Mark "The Bird"
data.
ways: in the global.asa and
Fidrych and displays all of
in any ASP page.
his season statistics for
1976 contained in the
database rather than
displaying the entire db.
Date: Apr, 15 2002 Date: May, 21 2001 Date: Feb, 13 2000 Date: Jan, 20 2000 |