dbase III, IV, 5 files and ADO 2.0

  • Thread starter Thread starter ray well
  • Start date Start date
R

ray well

hi,

how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net
2005 and Ado 2.0 ?

this is for a off site machine where i have to access the data thru code.
how do i make the connection and which provider do i use? all the code i saw
is for Sql server or Access. i would prefer to access the database directly
without using an Access front end to which the *.dbf files are linked.

a few lines of code would be appreciated.

thanks,

ray
 
You just need the right connection string. See www.connectionstrings.com

Then you import the System.Data.OleDb Namespace and use its methods just
like you would use the SqlClient methods.

Don't have time right now to throw out some code, but if you need further
information, shout back.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top