C#用OleDbCommandBuilder在数据库文件创建表 20
我用如下方法在PlanRemind.mdb中再创建一个数据表OleDbConnectionoleConn=newOleDbConnection(String.Format...
我用如下方法在PlanRemind.mdb中再创建一个数据表
OleDbConnection oleConn = new OleDbConnection(String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data source={0}", Application.StartupPath + "\\PlanRemind.mdb"));
OleDbDataAdapter OleDa = new OleDbDataAdapter("Select * into td_Female From td_Number where Male=0", OleConn);
OleDbCommandBuilder command = new OleDbCommandBuilder(OleDa);
可是执行以后根本没反应,请大神指导 展开
OleDbConnection oleConn = new OleDbConnection(String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data source={0}", Application.StartupPath + "\\PlanRemind.mdb"));
OleDbDataAdapter OleDa = new OleDbDataAdapter("Select * into td_Female From td_Number where Male=0", OleConn);
OleDbCommandBuilder command = new OleDbCommandBuilder(OleDa);
可是执行以后根本没反应,请大神指导 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏20(财富值+成长值)
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询