Use Access Database in ASP.Net webForm
This code is use establish connection with MS-Access. First create an Database in Access and then table by entering some data in it.
It esablish connection with any Access File. below Mydatabase.mdb is the name of Database.
NOTE: Make a connection with that Access file in your web page.
1. right click on server explorer
2. right click on data connections
3. Add connection
then go through the process
Add MSAccess Connection String
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ImageResize\Mydatabase.mdb")
C:\ImageResize\Mydatabase.mdb" is the path of Access Database
Then write ur code as general
Thanks for the information. It helped me a lot to learn what I wanted to learn.