Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a database file using VB.NET

Status
Not open for further replies.

LPV

Technical User
Jun 18, 2001
12
0
0
US
Is it possible to create a database file using VB.Net?

I want to be able to create a database file in code, then create the tables later.

I have tried the 'CREATE TABLE tablename' as a SQL statement but it requires a connection but the file hasn't been created to connect to.

Any ideas would be appreciated.

Thanks in advance.

J. Engel
 
Sorry, I should have included that.

I need to create a Microsoft Access database.

Thanks Christiaan.

J. Engel
 
Mark...

Thanks, that's exactly what I wanted.

As many times as I Googled 'create database', I never came across that site.

Many thanks!

J. Engel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top