arcengine 创建mdb
string filePath=”E:\\”;
string fileName=”ArcgisTest”;
pWorksapceFactory = new AccessWorkspaceFactory();
IWorkspaceName worksapcename = pWorksapceFactory.Create(filePath, fileName, null, 0);
IName name = worksapcename as IName;
pWorkspace = name.Open() as IWorkspace;
有可能出现异常,解决方法:
http://63542424.blog.163.com/blog/static/18883900201132312414857/
转载自:https://blog.csdn.net/hwq827/article/details/50880378