I am a beginer for VB NET. If any body helps me connect MS Access database through script and using Oledb

Thanks

Hi,


The following code segment demonstrates how to create a connect to a Microsoft Access database using an OleDbConnection.

Connection string for MS Access via OLE DB:

Dim connection As OleDbConnection
connection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydir\access.mdb;User Id=;Password=;")

connection.Open();

Regards
bhar
Knowledge is power
http://www.vkinfotek.com


I am a beginer for VB NET. If any body helps me connect MS Access database through script and using Oledb

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.