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.Connecti onString =
@"Provider=Micr osoft.Jet.OLEDB .4.0;Data
Source=c:\inetp ub\wwwroot\stud ydotnet\study.m db";
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********@lyc os.de> wrote in message
news:78******** *************** ***********@mic rosoft.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?