C#和SQLServerDatabase [英] c# and sqlserverdatabase

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

问题描述

先生,

我已经从基于站点Windows的工具下载了项目,该工具可以备份和还原sql server数据库程序.


我有错误

使用Microsoft.SqlServer.Management.Common;
使用Microsoft.SqlServer.Management.Smo;

如何在我的项目中包含此内容.
我正在使用visualstudio2010试用版.


请帮帮我.

sir,

i have downloaded project from our site windows based tool that taking backup and restortion of sql server database programatcaly.


i got error

using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;

how to include this refrence my project.
i am using visualstudio2010 trial version.


please help me out.

推荐答案

hii,

hii,

Right click on project>>Add reference>>click browse button find the below path
C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies

Microsoft.SqlServer.Smo.dll

add the reference


这篇关于C#和SQLServerDatabase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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