Click here to Skip to main content
16,017,350 members
Articles / Programming Languages / C#

Create a blank Jet database

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
7 Nov 2010CPOL 9K   3  
You can do this in a much easier way:object ADOXCat = Activator.CreateInstance(Type.GetTypeFromProgID("ADOX.Catalog"));ADOXCat.GetType().InvokeMember("Create", System.Reflection.BindingFlags.InvokeMethod, null, ADOXCat, new string[] { ConnectionString });

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Germany Germany
Software-Developer since 1990
Specialiced in LAN/WAN Tracers ( sniffer )
now developing in .NET ( c#, VB, ASP ..)

Comments and Discussions