VB的SQL部署问题(愚蠢的错误) [英] vb sql deployment question (foolish mistake)

查看:70
本文介绍了VB的SQL部署问题(愚蠢的错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想我已经因计划不周而陷入困境.

我已经完成了vb.net项目,并准备好部署它,但是从一开始我就从未将数据库带入项目,而是让它与其他一些数据库位于一个公共文件夹中. >
所以我的问题是:
有没有办法在最终部署之前将数据库表引入"项目,



我可以部署解决方案并将其指向数据库表所在的文件夹吗?

好吧;所以这里是额外的信息.只是Windows表单上的数据应用程序具有
与数据源交互的几种形式.我没有硬编码任何使用数据库的东西
资源管理器与数据库连接,出现提示时,我选择不合并表
进入项目(遗憾),整个工作正常,做我想做的事.

我在考虑在某个地方设置一个选项来告诉IDE携带表格
在部署之前还是拖放或将表复制粘贴到IDE中?我还没有尝试过这些
因为我想在未知的地方闲逛之前在这里给出几个答案.

Hi guys, So I think I have painted myself into a corner with a bit of bad planning.

I have finished my vb.net project and I''m ready to deploy it, but from the outset I never brought the db into the project, but let it reside in a common folder with some other db''s.

So my question is:
Is there a way to bring the db tables "into" the project prior to final deployment,

or

Can I deploy the solution and make it point to the folder where the db tables reside?

Well; so here is the extra info. It''s just a windows forms over data application that has a
couple of forms to interact with the datasource. I didnt hard code anything just used the database
explorer to hook up with the db, when prompted I chose not to incorporate the tables
into the project (regret), the whole thing works ok, does what I want to.

I was thinking in terms of setting an option somewhere to tell the IDE to bring the tables
in before deployment or drag drop or copy paste the tables into the IDE? I have not tried any of these
as I want to field a couple of answers here before I go poking around in the unknown.

推荐答案

可能的答案是不,您还可以.它可能像设置配置以指向数据库一样简单,也可能意味着将数据库移到数据库服务器上并将您的应用程序指向它.确实取决于您实际执行的操作,但是具体细节并不致命.发布更多详细信息,我或其他人将再看一遍.
The probable answer is no, you are okay. It may be as simple as setting up the configuration to point at the database or it may mean moving the database onto a database server and point your application at it. Really depends on what you''ve actually done but certaily not fatal. Post more details and I, or someone, will take another look.


这篇关于VB的SQL部署问题(愚蠢的错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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