Hi
Accessing an Access database is just as easy as accessing any other
database. You should use OleDb data providers to establish a connection. A
connection string is something like this. The Provider is the most important
thing to remember. Note, that the database must exist.
dbconn.ConnectionString =
@"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetpub\wwwroot\studydotnet\study.mdb";
You can read data just as easily as with any other datasource. You can use a
DataAdapter to fill a DataSet, or use the DataReader to read data. In either
case, you can use SQL SELECT statement to get the data.
And closing, well, simply call Close() on the connection. It really doesn't
work that much different from other data providers.
-Artur
"Eifel-benz" <Ei********@lycos.de> wrote in message
news:78**********************************@microsof t.com...
How to get connection to a MS Access database?
How to read from a MS Access database?
How to close the connection to a MS Access database?