Create MS Access Database file with C#
namespace WindowsFormsApplication9
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
CatalogClass ct = new CatalogClass();
object a = ct.Create("Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source='C:\\pp\\People.mdb';");
}
}
}
--------------------------------------------------------------------------------
Add ADOX namespace
---------------------------------------------------------------------