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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create ms access database via asp.net?

Status
Not open for further replies.

Sidro

MIS
Sep 28, 2002
197
US
Hi,
Is it possible for asp.net to create an ms access database on the fly? And also, can asp.net create a new ms access field on the fly? thankx in advance.
 
As far as i know the best way to create databases on the fly is to create an empoty database and write a file to copy it and rename it. Access can handle SQL commands like ALTER to ammend tables.
 
hi,
So basically, I create a master copy of a data base and create something like a batch file to make another copy of the master copy.

Now suppose in the master copy I have 3 fields. What if i want to add more fields in the copied database, can asp.net create additional fields? If yes, could you please give an example?

thankx in advance.
 
I had the same need a few weeks ago and used ADOX. I'm still in the research stages of finding a more efficient method though

ADOX

___________________________________________________________________
[sub]
onpnt.com
SELECT * FROM programmers WHERE clue > 0
(0 row(s) affected) -->faq333-3811
[/sub]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top