如何从datatset创建表到.mdb [英] How to create table to .mdb from datatset

查看:56
本文介绍了如何从datatset创建表到.mdb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个mdb文件,其中包含.xsd文件中的相关数据集,我想更新此应用程序,将表添加到mdb文件和数据集。我在几台计算机上安装了这个应用程序,所以我想用PreInitilization方法(这是mi的第一种更新方法)



如何创建表格,保存到mdb?



也许最简单的方法是使用sqlcommand但我想知道是否可以从数据集中保存,也许当它检测到该表时不存在。



谢谢!

I have a mdb file with a related dataset in .xsd file, i want update this app adding a table to mdb file and dataset. I have this app installed in a few computers so I would like to do it in a PreInitilization method (this is mi first method for updates)

How can I create table, save to mdb?

Maybe the easiest way is with a sqlcommand but i would like to know to if is possible to save from dataset, maybe when it detects that table doesn't exist.

Thanks!

推荐答案

没有想法?任何其他解决方案?



我正在寻找带有数据集的最佳工作模式。
No ideas? Any other solution?

I'm looking for best work mode with dataset.


这篇关于如何从datatset创建表到.mdb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆