添加数据库 [英] add database

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

问题描述

我使用sql server 2005数据库在C#中创建一个项目
现在我想在创建项目的设置过程中添加数据库

i create a one project in C# with sql server 2005 database
now i want to add database during create a set-up of my project
what i do you do?

推荐答案

使用sql manager express将数据库导出为脚本,并从C#代码执行该脚本.
Use sql manager express to export your database as a script, and execute that script from your C# code.


此处查看本文 [

您如何做到这一点? ,但还不知道该怎么做,以至于您加入后半天就问了14个问题?
How did you get this far, and yet not know how to do so many basic things that you''ve asked 14 questions in the half day since you joined ?


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

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