Documentos de Académico
Documentos de Profesional
Documentos de Cultura
http://support.microsoft.com/kb/317881
In Solution Explorer, right-click the References node and select Add Reference
.3.On the COM tab, select Microsoft ADO Ext. 2.7 for DDL and Security, click Select
4.Delete all of the code from the code window for Class1.cs.
using System;
using ADOX;
namespace ConsoleApplication1
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
ADOX.CatalogClass cat = new ADOX.CatalogClass();
cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data
Source=D:\\AccessDB\\NewMDB.mdb;" +
"Jet OLEDB:Engine Type=5");
cat = null;
}
}
}