显式创建数据库 [英] explicitly creating database

查看:83
本文介绍了显式创建数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用通过Visual Studio构建的.net应用程序显式创建数据库?

实际上,无论何时我创建任何具有数据库连接性的应用程序,它最初都在我自己的系统上进行了测试.连接字符串效果很好.但是,如果我将其移动到另一个位置,则数据无法插入到该计算机的数据库中.因此,我正在考虑是否能够在运行时创建连接字符串,那么我的应用程序可能会运行良好.

Is it possible to create database explicitly using .net application built using visual studio?

Actually whenever i create any application having database connectivity,its initially been tested on my own system. The connection string works well. but if i move it into another location then the data cannot be inserted into the database of that machine. So i am thinking if we are able to create the connection string at the runtime then my application might run well.

推荐答案

是的.

如果您想编辑问题以更好地描述问题或结果,则可能会得到更好的答案.
Yes.

If you want to edit your question to better describe the issues or outcomes you may get a better answer.


这篇关于显式创建数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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