4 Nov 2010
Updated: 7 Nov 2010
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 8,661
Bookmarked: 3
Downloaded: 0
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 });
|