About the connection of the database

xiaoxiao2021-03-06  95

The above problem has not been solved, the new problem is coming again. The book has always been used in ado.net, but today I am not successful today. Please teach the master in the Internet. He said that asp.net is basically not using ADO (note: he is said to be ADO, not ado.net), then I will go online to find an instance of the connection database, the result is as he said . Now use OLEDB to connect, I downloaded an instance to do research. At the same time, he also sent a new textbook to me.

If it is a problem with my book, things may be a bit trouble. Then I have to change a textbook, or go to the library, oh ...

Basic confirmation ADO.NET seems no longer being applied, so I decided to use OLDB later. The source code of the connection is as follows:

★ ASP.NET Connect Access Database Ride ★

Hello everyone, the following is the routine about the ASP.NET to connect the Access database,

Share here and share:

ASP.NET Connection ACCESS Database Ride Detailed:

<% @ Import namespace = "system.data"%>

<% @ Import namespace = "system.data.oledb"%>