可以为msAccess2007 accdb创建安装文件吗? [英] can we create setup file for msAccess2007 accdb?
本文介绍了可以为msAccess2007 accdb创建安装文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
专家
我们如何为msAccess2007 accdb创建安装文件?我听说最大限制为2gb,如果我们的数据超过2gb,我们该如何管理? bcoz我用msAccess2007 accdb开发了一个winform应用程序.
在此先感谢...
hi experts
how can we create setup file for msAccess2007 accdb? and i hear that it max limit was 2gb, if our data exceeds more than 2gb how can we manage that? bcoz i developed a winform application with msAccess2007 accdb.
thanks in advance...
推荐答案
以下是示例代码:
Here is the sample code:
using System;
using ADOX;
namespace ConsoleApplication1
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
ADOX.Catalog cat = new ADOX.Catalog();
cat.Create("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;");
Console.WriteLine("Database Created Successfully");
cat = null;
}
}
}
这篇关于可以为msAccess2007 accdb创建安装文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文